Home Forums Themes Support Stber Woocommerce Coupons Not Working

This topic contains 1 reply, has 2 voices, and was last updated by  admin 2 weeks, 3 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1881

    I have an Issue with the official Woocommerce Coupons Plugin, the product page inputs is sadly not working when used with your theme.
    After consulting their support team they narrowed the issue down to the following problem caused by your theme plugin:

    “As checked on your site, the Smart Coupons issue is due to a javascript error ‘Option ‘ajax’ is not allowed for Select2 when attached to a <select> element.’ produced by one of the plugins on your site (‘Haru Stber Core’).”

    Can you please resolve this issue produced by your plugin.

    The Coupons Field in the product page settings can not be clicked on (see picture attached).

    Attachments:
    You must be logged in to view attached files.
    #1883

    Hi,
    Thanks for contacting us and choosing our product!
    Sorry about this issue but maybe this happen when different version of Select 2.
    You can disable select 2 in our plugin by go to:
    Plugins -> Editor then select Haru Stber Core in the right side.
    the go to haru-stber-core/haru-stber-core.php
    – Go to line 99 you will see the code like this.
    Please comment it and check again:
    wp_enqueue_script( $this->prefix .'-select2', plugins_url( PLUGIN_HARU_STBER_CORE_NAME.'/admin/assets/plugins/jquery.select2/select2.min.js'), array( 'jquery' ), $this->version, false );
    Hope this help you!

    *****
    Regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.