Voucher list per vendor

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 2 reply threads
  • Author
    Posts
    • #113335
      gundf.de
      Participant

      Hello,

      I have installed
      WCFM – Ultimate
      Woocommerce PDF Vouchers (https://codecanyon.net/item/woocommerce-pdf-vouchers-wordpress-plugin/7392046)

      I created a voucher product.
      I added the “check voucher” shortcode and the “voucher list” shortcode in the menu of the vendor and admin.

      Problem: the vendor does NOT see the voucher that was bought on his shop.

      Observation : If i let every vendor see everyone else’s vouchers the list works but this is a security problem that is unacceptable.

      Please help.

      Attachments:
      You must be logged in to view attached files.
    • #114832
      WCFM Forum
      Keymaster

      We will look in to this in WCFM Ultimate coming update.

    • #119533
      gundf.de
      Participant

      //this is how you allow store vendors to see the vouchers they generate THEMSELVES on their store
      // the people from pdf vouchers show how to do it here https://docs.wpwebelite.com/faq/woocommerce-pdf-vouchers/

      function woo_vou_add_role_as_voucher_vendor( $roles = array() ) {
      $roles[] = ‘wcfm_vendor’;
      return $roles;
      }
      add_filter( ‘woo_vou_edit_vendor_role’, ‘woo_vou_add_role_as_voucher_vendor’ );

      //the problem is that vendors STILL do not see client-generated vouchers.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.