Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
- AuthorPosts
- gundf.deParticipant
Looks like WCFM provides the ID of the image BUT PDF vouchers expects a url. which results in urls like http://7544 thich lead to no image.
this prevents the pdf from being generated and downloaded.
Attachments:
You must be logged in to view attached files.gundf.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
Viewing 2 posts - 1 through 2 (of 2 total)