• Hi,

    We use an AJAX Product Filter plugin (by BeRocket) on our Woocommerce store.

    To make it work, we add the AJAX filter widget to the shop sidebar in the Widgets section.

    It works fine everywhere like the Shop Page, Product Category Page, Product Tags page, etc.

    In the Vendor Shop page (the one that showcases all products by a particular vendor), there is a filter option that gets shown in the top bar. But this doesn’t seem to work. On clicking, it just creates a blank overlay over the entire page and nothing else happens. I can’t seem to find this top bar in the Widgets section as well so I am not able to add the AJAX filter either.

    Can you please help me out? How can I add the filter to this top bar on the Vendor Shop page?

    Regards,
    Arjun

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Kindly contact that Ajax filter plugin support for this.

    Vendor’s store page is also a shop page, so this should work here as well.

    Thread Starter arjunmurali1993

    (@arjunmurali1993)

    The plugin authors say that the filter works on Widgets areas and this top bar is not showing up on the Widgets area.

    Also, when I drop the Filter Widgets on to the Vendor Store Sidebar Widget area, the filters don’t seem to work there either. The filter widgets are working fine in all other Shop Page sidebars except the Vendor Store Sidebars.

    Thread Starter arjunmurali1993

    (@arjunmurali1993)

    I think it may have something to do with the Tabs in that Vendor Store shop page.

    On the main products tab, none of the sidebar items show up – just the word filter.
    https://ibb.co/vqK3j8P

    However, when we go to the About Tab in the same page, the sidebar items all show up:
    https://ibb.co/MBL3m3q

    We don’t really use those tabs on our site. So it there a way to disable that section and maybe test if the sidebar then works properly?

    Regards,
    Arjun

    Plugin Author WC Lovers

    (@wclovers)

    Possibly you have disabled it’s sidebar now.

    DO you want to disable “About” Tab as well?

    Thread Starter arjunmurali1993

    (@arjunmurali1993)

    Yes, I had the Vendor Store Sidebar option disabled because the widgets weren’t showing up.

    Also, I just noticed that the widgets are actually showing up but after the page ends right at the bottom. Screenshot below:
    https://ibb.co/VjkQy9z

    Not sure why this happens. All other sidebars are working fine except for the Vendor Store sidebar. My guess is that it could have something to do with the tabs. Ours is a design store so most vendors don’t add any About Info. So it would actually be better to disable the tabs options and have just the vendor products showing up on the Vendor Store page.

    Could you please help us out with that?

    Regards,
    Arjun

    Plugin Author WC Lovers

    (@wclovers)

    Not sure why this happens. All other sidebars are working fine except for the Vendor Store sidebar.

    – This is a CSS issue, possibly due to theme. Kindly keep sidebar active, I will know you right CSS to fix this.

    My guess is that it could have something to do with the tabs. Ours is a design store so most vendors don’t add any About Info. So it would actually be better to disable the tabs options and have just the vendor products showing up on the Vendor Store page.

    – You may use this snippet, it will disable “About” tab and add that content under products tab. So, if any vendor will add shop description then only it will be visible here.

    add_filter( 'wcfmmp_store_tabs', function( $store_tabs, $store_id ) {
    	if( isset( $store_tabs['about'] ) ) unset( $store_tabs['about'] );
    	return $store_tabs;
    }, 50, 2 );
    add_action( 'wcfmmp_before_store_product', function( $store_id, $store_info ) {
    	$store_user   = wcfmmp_get_store( $store_id );
    	$wcfm_shop_description = apply_filters( 'wcfmmp_store_about', apply_filters( 'woocommerce_short_description', $store_user->get_shop_description() ), $store_user->get_shop_description() );
    	if( $wcfm_shop_description ) { ?>
    		<div class="wcfm-store-about">
    			<div class="wcfm_store_description" ><?php echo $wcfm_shop_description; ?></div>
    		</div>
    	<?php }
    }, 50, 2 );

    Add custom code(s) to your child theme’s functions.php
    In case you do not have child theme then add those using this plugin –?https://www.ads-software.com/plugins/code-snippets/

    Thread Starter arjunmurali1993

    (@arjunmurali1993)

    Hi,

    I’ve enabled the Store vendor sidebar on our website. You can check at:
    https://swagswami.com/artist/jayajanani/

    Thanks for the code. I’ve added it to the child theme’s functions.php file.

    Regards,
    Arjun

    Plugin Author WC Lovers

    (@wclovers)

    But there is no sidebar under this store page. Have you disabled this from WCFM Admin Setting – Marketplace Setting? https://ibb.co/s5yQySZ

    Please check once.

    Thread Starter arjunmurali1993

    (@arjunmurali1993)

    Hi,

    Yes, we enabled the sidebar but then several Vendors started reporting that the products in their Store pages were unclickable. We checked and it was the Sidebar that was causing this issue and so we had to disable it since ours is a live site.

    If you could send us your email details, we’ll create an Admin account so that you can check this without disrupting the live site.

    Regards,
    Arjun

    Plugin Author WC Lovers

    (@wclovers)

    Please contact us directly from here – https://wclovers.com/contact-us/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change Filter in Vendor Store Page to use AJAX Filter by a plugin’ is closed to new replies.