BuddyBoss Home – Web Support Forums Solutions Social MarketPlace Fatal Error with Coupons

Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #64975
    @chartan

    Hi
    I just tried to add a coupon in the pro dashboard of WCVendors Pro and received the following fatal error:

    Call to undefined method WCVendors_Pro_Coupon_Form::minimum_spend() in MYSITE/wp-content/plugins/buddyboss-marketplace/templates/wc-vendors/dashboard/shop_coupon-edit.php

    So, coupons are broken at the moment. Any idea how to fix it?

    Answers

    #64978
    @chartan

    The function now seems to be “minimum_amount” and not “minimum_spend”. I tried to overwrite the shop_coupon-edit.php file in themes/onesocial-child/bb-marketplace/templates/wc-vendors/dashboard/ but this file is ignored.
    Where is the correct file path to overwrite it?

    #64979
    @chartan

    OK, just for a test I have overwritten the core file and exchanged “minimum_spend” with “minimum_amount” and “maximum_spend” with “maximum_amount”. The coupon edit works now.

    So, this is a bug in the recent buddyboss-marketplace plugin and hope you fix it soon.

    #65046

    Anonymous
    @

    Hi @chartan, Thanks for you input…I have noted it and will notify to development team to check this bug..

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Fatal Error with Coupons’ is closed to new replies.