This topic has 8 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Rose Tyler
Hello, Hope you are well.
Please see that the product category is not working.
when I click on the dropdown and then click on any category nothing happens
Hello, Muhammad Ejaz ,
Please try to disable all the third-party plugins (including cache plugins), that does not come bundled with XStore https://www.8theme.com/documentation/xstore/plugins/included-plugins/, clear the cache of the browser, and check then. Maybe one of the additional plugins is the reason for the problem.
Kind Regards,
8theme team
Still its not working
Hello, Muhammad Ejaz ,
Thank you for your response.
Please provide temporary wp-admin and FTP access.
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, please contact your hosting provider for assistance.
Thank you for your cooperation and we look forward to hearing from you soon.
Kind Regards,
8theme team
please see
Hello, Muhammad Ejaz,
Please uncheck “Show as dropdown” in the settings for the widget and it will work fine. But in case, you want to have the dropdown for product categories, provide us with FTP access, so we can check the problem more deeply.
We can’t recreate this problem on our test site.
Kind Regards,
8theme team
Please See the FTP details
Hello, Muhammad Ejaz,
Fixed. Please clear cache and check now.
We’ve disabled Ajaxify Widgets for the Product Categories widget – https://prnt.sc/pcWXKsInv7Ya
If you want to apply Ajaxify for this widget still, add the next code in functions.php of the child theme
wc_enqueue_js(
"
jQuery(document).on( 'change', '.dropdown_product_cat', function() {
if ( jQuery(this).val() != '' ) {
var this_page = '';
var home_url = '" . esc_js( home_url( '/' ) ) . "';
if ( home_url.indexOf( '?' ) > 0 ) {
this_page = home_url + '&product_cat=' + jQuery(this).val();
} else {
this_page = home_url + '?product_cat=' + jQuery(this).val();
}
location.href = this_page;
} else {
location.href = '" . esc_js( wc_get_page_permalink( 'shop' ) ) . "';
}
});
"
);
Kind Regards,
8theme team
Tagged: best selling, json, product category filter, solution, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up