Can't sort products on Shope page
Posted by:
SelfOutlet
Jan 25, 2019 at 21:53 (6 year ago)
Hi,
I've just realized that the Sort menu on Shop page can't sort products (date, price...) and the Grid display gives an error on the console: shop/?shop_display_mode=grid 500
I've tried cleaning cache, disabling cache plugin... but no results.
On WC page Status i have:
Your theme has a woocommerce.php file, you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
turan/woocommerce/archive-product.php,
turan/woocommerce/cart/cross-sells.php,
turan-child/woocommerce/checkout/form-checkout.php,
turan/woocommerce/content-product.php,
turan/woocommerce/content-widget-product.php,
turan/woocommerce/global/quantity-input.php,
turan/woocommerce/loop/loop-start.php,
turan/woocommerce/loop/no-products-found.php,
turan/woocommerce/loop/orderby.php,
turan-child/woocommerce/myaccount/dashboard.php,
turan-child/woocommerce/myaccount/downloads.php,
turan-child/woocommerce/myaccount/my-account.php,
turan-child/woocommerce/myaccount/my-downloads.php,
turan-child/woocommerce/myaccount/my-orders.php,
turan-child/woocommerce/myaccount/orders.php,
turan-child/woocommerce/myaccount/view-order.php,
turan/woocommerce/single-product/related.php,
turan/woocommerce/single-product/up-sells.php
After reading in some forums it seems that it can be related to the Wc support, but not sure coz on the turan fonctions there is the add support of woocommerce.
When i tried this code. On the shop page the Sort works but the Sidebar is gone:
if ( is_singular( 'product' ) ) {
woocommerce_content();
}else{
//For ANY product archive.
//Product taxonomy, product search or /shop landing
woocommerce_get_template( 'archive-product.php' );
}
Need help. Thank you
I've just realized that the Sort menu on Shop page can't sort products (date, price...) and the Grid display gives an error on the console: shop/?shop_display_mode=grid 500
I've tried cleaning cache, disabling cache plugin... but no results.
On WC page Status i have:
Your theme has a woocommerce.php file, you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
turan/woocommerce/archive-product.php,
turan/woocommerce/cart/cross-sells.php,
turan-child/woocommerce/checkout/form-checkout.php,
turan/woocommerce/content-product.php,
turan/woocommerce/content-widget-product.php,
turan/woocommerce/global/quantity-input.php,
turan/woocommerce/loop/loop-start.php,
turan/woocommerce/loop/no-products-found.php,
turan/woocommerce/loop/orderby.php,
turan-child/woocommerce/myaccount/dashboard.php,
turan-child/woocommerce/myaccount/downloads.php,
turan-child/woocommerce/myaccount/my-account.php,
turan-child/woocommerce/myaccount/my-downloads.php,
turan-child/woocommerce/myaccount/my-orders.php,
turan-child/woocommerce/myaccount/orders.php,
turan-child/woocommerce/myaccount/view-order.php,
turan/woocommerce/single-product/related.php,
turan/woocommerce/single-product/up-sells.php
After reading in some forums it seems that it can be related to the Wc support, but not sure coz on the turan fonctions there is the add support of woocommerce.
When i tried this code. On the shop page the Sort works but the Sidebar is gone:
if ( is_singular( 'product' ) ) {
woocommerce_content();
}else{
//For ANY product archive.
//Product taxonomy, product search or /shop landing
woocommerce_get_template( 'archive-product.php' );
}
Need help. Thank you