Forum Replies Created
-
AuthorPosts
-
June 29, 2021 at 2:46 AM in reply to: Coupons can be used for products other than the vendor that created the coupon #123939webmaster.midParticipant
Got it working through filter:
add_filter( 'wcmp_vendor_coupon_types_valid_for_product', 'add_percent_coupon_type' ); function add_percent_coupon_type( $types ){ $types[] = 'percent'; return $types; }
CopyJune 29, 2021 at 1:57 AM in reply to: Coupons can be used for products other than the vendor that created the coupon #123930webmaster.midParticipantHello! I’m experiencing same issue. Has this been fixed?
June 22, 2021 at 11:33 PM in reply to: Vendors coupon discount applies to another vendors proucts #123556webmaster.midParticipantHi Ninja
actually I have added that coupon logged in as a vendor for dure.
maybe we might facing another problem, propably related to membership.We updates all plugins on our test environment before post that reply
first check our plugin versionsWordPress: 5.7.2
Woocommerce: 5.4.1
WCMp: 3.7.4
Membership: 2.31° The vendor sucefully applied to a membership that allows “publish coupons” (Test Membership)
(screenshot_1)
(screenshot_2)2° Even with this, the vendo can’t publish coupon, just send to review (maybe thats the problem)
505 parcentage discount
restriction: some categories
(screenshot_3)3° Marketplace must accept that coupon
4° When we try to apply that coupon, that discount goes to every single product with the same category (from all vendors)
I believe that when the coupon is approved by marketplace its ownership goes to marketplace himself.
could you help us?
can you test if yo ucan create and publish a coupon as a vendor an test that hypothesis?January 26, 2021 at 1:32 AM in reply to: Vendor Staff Email support overwrites WooCommerce default email templates #114454webmaster.midParticipantHi. This error is happening on line 335 of file wcmp-sub_vendor/classes/class-wcmp-sub-vendor.php.
The function is not receiving parameter $emails, resetting all WC e-mails.
// Email template added
function wcmp_sub_vendor_email_setup($emails) {
require_once( ’emails/class-sub-vendor-email.php’ );
$emails[‘WCMP_Sub_Vendor_Email’] = new WCMP_Sub_Vendor_Email();
return $emails;
} -
AuthorPosts