Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Voucher list per vendor
Tagged: voucher access vendor
- This topic has 2 replies, 2 voices, and was last updated 4 years, 8 months ago by gundf.de.
- AuthorPosts
- March 26, 2020 at 7:09 pm #113335gundf.deParticipant
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. - April 2, 2020 at 10:20 pm #114832WCFM ForumMember
We will look in to this in WCFM Ultimate coming update.
- April 16, 2020 at 12:40 am #119533gundf.deParticipant
//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.
- AuthorPosts
- You must be logged in to reply to this topic.