WC coupon discount options not showing in WCMp vendor dashboard.
Home / Topic / WCMp Core / WC coupon discount options not showing in WCMp vendor dashboard.
WCMp Core
WC coupon discount options not showing in WCMp vendor dashboard. Open
- This topic has 20 replies, 4 voices, and was last updated 1 month, 1 week ago by
NerdySupportExpert Moumita.
-
AuthorPosts
-
-
February 19, 2021 at 5:57 PM #116012
Alex2155
ParticipantHi,
WC coupon discount options not showing in WCMp vendor dashboard. Even when creating them by the admin, they don’t show in WCMp vendor dashboard. -
February 19, 2021 at 6:23 PM #116020
WCMp Support Ninja
ModeratorHello,
Thank you for reaching out tos us.
We have tested the coupon section on vendor dashboard and it is working fine as you can see here https://prnt.sc/100uock
May I know if you have checked marketplace plugin with WooCommerce and standard theme (storefront/twenty). Please deactivate all your plugin, except WooCommerce and WCMp + addon. You can then check the flow. If everything is working fine, in order to detect which plugin is causing conflict- please activate each plugin consecutively and check the flow.
Similarly, for theme conflict- please deactivate the current theme and check with standard WooCommerce theme (storefront/twenty) It is suggested to please perform these tests on your staging website and keep us posted with the outcome. -
February 22, 2021 at 4:15 PM #116110
Alex2155
ParticipantThis reply has been marked as private. -
February 23, 2021 at 6:44 PM #116236
WCMp Support Ninja
ModeratorKindly share the admin, vendor access of clone staging site and FTP access.
While sharing the access, please mark the reply as private. -
February 23, 2021 at 7:51 PM #116264
Alex2155
ParticipantThis reply has been marked as private. -
February 24, 2021 at 10:17 AM #116242
Alex2155
ParticipantThis reply has been marked as private. -
February 24, 2021 at 10:18 AM #116306
Alex2155
ParticipantThis reply has been marked as private. -
February 24, 2021 at 6:11 PM #116375
Alex2155
ParticipantThis reply has been marked as private. -
February 24, 2021 at 6:28 PM #116384
GeekyCoder Abhirup
ModeratorHi,
As per our default flow from the vendor dashboard >> add coupon >> Discount type option is only Fixed product discount. and if you using the WCMp AFM plugin then vendor also use the Percentage discount type.Kindly Checkout the video – https://www.loom.com/share/b241280399a04aa3a34c094e542ca92e
Regards,
-
February 24, 2021 at 8:27 PM #116391
Alex2155
ParticipantThe options should be available using the backend dashboard. AFM is for the frontend manager (your code). Backend is WP/WC and should not be blocked by your code. With backend, your code adds no functionality, functions simply passthrough from WooCommerce. WooCommerce functions should not be blocked to make WP/WC community pay you for functionality that is provided by default by WooCommerce.
-
March 8, 2021 at 4:44 PM #117106
NerdySupportExpert Moumita
Keymaster@Alex2155, sorry for the inconvenience.
Can you please confirm whether you need a percentage coupon type in the vendor’s backend as well. We will wait for your reply.
-
March 11, 2021 at 6:52 PM #117373
NerdySupportExpert Moumita
KeymasterThis reply has been marked as private. -
March 12, 2021 at 5:37 PM #117442
NerdySupportExpert Moumita
Keymaster@Alex2155, as this requires custom code, hence this requires some time. We will keep you posted.
-
March 13, 2021 at 9:52 AM #117474
NerdySupportExpert Moumita
Keymaster@Alex2155, you haven’t shared the password of the ftp access.
Please do add the code in the function.php of the current active theme to add percentage coupon in backend :
$current_user = wp_get_current_user(); if(is_user_wcmp_vendor($current_user)){ add_action('init', function(){ global $WCMp; if($WCMp != null && isset($WCMp->coupon)){ remove_filter('woocommerce_coupon_discount_types', array($WCMp->coupon, 'coupon_discount_types')); add_filter( 'woocommerce_coupon_discount_types', function( $coupon_types ){ $current_user = wp_get_current_user(); if( is_user_wcmp_vendor($current_user) ){ $to_unset = apply_filters( 'wcmp_multi_vendor_coupon_types', array( 'fixed_cart' ) ); foreach( $to_unset as $coupon_type_id ){ unset( $coupon_types[ $coupon_type_id ] ); } } return $coupon_types; }); } }); }
Copy
-
-
AuthorPosts
Please LOGIN to reply to this topic