• Resolved Salar Gholizadeh

    (@salar6990)


    Hello, Thanks for the nice plugin.
    In Single Product Multi Vendor mode, the “more vendors” button does not work. this is due to wrong element ID in your JS.

    dc-woocommerce-multi-vendor\assets\frontend\js\single-product-multiple-vendors.js line 67:
    change #tab_singleproductmultivendor to #tab-singleproductmultivendor like below:

    $(‘.singleproductmultivendor_tab a, #tab-singleproductmultivendor’).click();

    and update the minified js file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Salar Gholizadeh

    (@salar6990)

    Update:
    Actually the issue was caused because I had multiple .singleproductmultivendor_tab items in my theme(for theme-related reasons). I fixed it by removing the surounding if around line 67.

    // if (!$(‘.singleproductmultivendor_tab’).hasClass(‘active’)) {
    $(‘.singleproductmultivendor_tab a, #tab_singleproductmultivendor’).click();
    // }

    Great to know that the issue has been resolved @salar6990:)

    Let us know if you need any further help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘More Vendors Button not working’ is closed to new replies.