Vendor profiles not sorting correctly and causing issues

This topic has 15 replies, 2 voices, and was last updated 5 months, 1 weeks ago ago by Rose Tyler

  • Avatar: andpixels
    andpixels
    Participant
    November 25, 2023 at 18:32

    We are using MultiVendorX, as it was the initial plugin for vendor management with the theme, and when a user visits the vendor profile page (https://pourmeabeer.com/vendor/drink_ricks/) and attempts to adjust the sorting of the products, the page just spins forever and never updates. When looking at the errors on the page (https://share.zight.com/9ZuLpOYp), we see it’s an issue with the XStore theme filters.

    Please advise on how to fix this.
    Thanks,
    Jacob

    14 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 26, 2023 at 10:56

    Hello, Andpixels,

    Thank you for reaching out to us.

    Please disable all 3rd-party plugins and check how it works then.
    If the problem is independent of activated plugins, please provide us with temporary wp-admin and FTP. This will allow us to take a closer look at the issue and determine the best course of action to help you.

    To provide wp-admin access, you can create a new user account with administrator role via the Dashboard, and provide us with the username and password via the Private Content area.

    To create FTP access (FTP host, FTP username, FTP password, FTP port, FTP encryption) , please contact your hosting provider for assistance.

    Kind Regards,
    8theme team

    Avatar: andpixels
    andpixels
    Participant
    November 26, 2023 at 16:42

    I moved everything to our staging environment, disabled all non-required plugins, and still using Xstore theme: no change..

    I switched to Storefront theme and the page works properly so that leaves me to believe that the issue is with Xstore theme.

    Please advise.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 27, 2023 at 08:04

    Hello, Andpixels,

    Please check how it works now – https://stg-xstore-stage.kinsta.cloud/vendor/drink_ricks/
    This issue appears because the template files of MultiVendorX are missing the main-products-loop class to wrap the products listing. So the JS error appears.

    Unfortunately, there is no hook or filter to add the custom codes, so we edited directly this file: /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-frontend.php line 884
    – Change: <div>
    – To: <div class="main-products-loop">
    Now everything is working fine, but changes will disappear after the next plugin update. We would recommend you contact support for the plugin with this information and ask for assistance from their side.

    Kind Regards,
    8theme team

    Avatar: andpixels
    andpixels
    Participant
    November 27, 2023 at 16:33

    Correct me if I am wrong, but wouldn’t the pagination disappear if you had selected “All” instead of 12/24/48?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 27, 2023 at 16:50

    Hello, Andpixels,

    Thank you for getting in touch with us.

    Where exactly did you select “All” and from what exactly page pagination doesn’t disappear? Please provide a screenshot and URL of the page.

    Kind Regards,
    8theme team

    Avatar: andpixels
    andpixels
    Participant
    November 27, 2023 at 16:57

    Same URL as before with Drink Ricks you select the number of items per page: 12, 24, 48, All.
    https://share.zight.com/rRumxPej

    Pagination is at the bottom of the page: https://share.zight.com/rRumxPej

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 28, 2023 at 07:48

    Hello, Andpixels,

    Thank you for your response.

    Please temporarily activate the Storefront theme and let us know the result.

    Kind Regards,
    8theme team

    Avatar: andpixels
    andpixels
    Participant
    November 28, 2023 at 15:33

    First off, that defeats the purpose of your theme and MultiVendorX working together.

    Secondly, it’s not the same functionality in the Storefront theme.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 28, 2023 at 16:38

    Hello, Andpixels,

    We appreciate your prompt response.

    We wish to inform you that your inquiry has been forwarded to another specialist for a more detailed review.
    Please be patient and do not change access.

    Kind Regards,
    8theme team

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 29, 2023 at 07:48

    Hello, Andpixels,

    The pagination block was not hidden because the HTML structure is not the same as the shop page.
    To make it work, we have to update the codes a little bit. On this file: /wp-content/plugins/dc-woocommerce-multi-vendor/classes/class-mvx-frontend.php line 993:
    – Change: do_action( 'woocommerce_after_shop_loop' );
    – To:

    echo '<div class="after-shop-loop">';
    do_action( 'woocommerce_after_shop_loop' );
    echo '</div>';

    We will contact MultiVendorX plugin author to add some filters so we can hook to those filters to prevent editing the plugin file after every update.

    Another solution can be to downgrade the plugin version to 3.9.3, because problems seem started in versions after that https://prnt.sc/CNGhglPGHCp0 .

    Kind Regards,
    8theme team

    Avatar: andpixels
    andpixels
    Participant
    November 29, 2023 at 14:45

    Do you guys have access to download that previous version of the plugin?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 29, 2023 at 15:50
    Avatar: andpixels
    andpixels
    Participant
    November 29, 2023 at 16:41

    That doesn’t actually solve the problem either.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 30, 2023 at 08:57

    Hello,

    Thank you for your response.
    1/ We made changes in xstore/framework/compatibility/wcmp.php to fix show products per page count.
    This fix will be globally included in next theme update as well.
    2/ we made tests about sorting products on your
    https://stg-xstore-stage.kinsta.cloud/vendor/drink_ricks/
    page and found that it works good even now, video – https://we.tl/t-kp1gFhwmBY

    Kind Regards,
    8theme team

  • Viewing 15 results - 1 through 15 (of 15 total)

The issue related to '‘Vendor profiles not sorting correctly and causing issues’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.