• Customer

    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

  • Customer

    Posted by: yame, Jan 26, 2019 at 09:17 (6 year ago)

    Hi mate,

    My coder checked your site and saw that it is because of the infliction plugins.
    Pls deactivate this one then your site will work normally: https://prnt.sc/mce7m9

    Pls check then let me know your result
    Regards,
    Yame
  • Customer

    Posted by: SelfOutlet, Jan 26, 2019 at 09:47 (6 year ago)

    Hi Yame,

    Thank you! U're right, WooCommerce PayPal Checkout Payment Gateway was in conflict with the theme. After applying the new update "1.6.8 – 2019-01-25 - Fix – Guard against themes applying filter with too few params" the Sort worked again. the display too!

    Thank you for your help!

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible