Custom ordering of products in SHOP page

This topic has 12 replies, 2 voices, and was last updated 5 months, 1 week ago ago by sethr

  • Avatar: sethr
    sethr
    Participant
    August 15, 2025 at 16:49

    hello, it has been a while since i built up my shop page. I want to re-order / customize the order of my products. I thought i should do that in: Xstore > WooCommerce > Product Catalog… but oddly enough, it doesn’t seem like any changes here stick. I have changed the drop down for Default Product sorting, but no matter which one i choose—sorting is the same. Product per row, i have now set to 3, but only 2 products per row show. Thank you in advance for any help I can get to control the ORDER of my products on the shop page primarily.

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    11 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    August 16, 2025 at 07:27

    Hello,

    Thank you for reaching out to us.

    1/ You can edit Product Sorting on the page, via Appearance > Customize > Woocommerce (Shop) > Product catalog > Default Product Sorting – these settings come from WooCommerce and are independent of XStore.
    By default, the sort order for products is “Custom Ordering + Name”. Navigate to Products, then click Sorting. From this page, you can simply drag and drop the product rows to reorder them https://gyazo.com/c680776c6d72e5bddf1457442afbca87
    If this doesn’t give you the desired result, we would recommend you contact the support of the WooCommerce plugin – https://wordpress.org/support/plugin/woocommerce/ , because our theme doesn’t have additional settings for this.

    2/ XStore Builders > Archive Products > edit template > Archive products element settings – https://prnt.sc/6Mo2og4fZkpm

    Read more https://www.8theme.com/documentation/xstore/xstore-builders/xstore-products-archive-builder-with-elementor/

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Warm Regards,
    The 8Theme Team

    Avatar: sethr
    sethr
    Participant
    August 16, 2025 at 16:33

    Hello—did you publish/update something during this response? When i go to my /shop page now , my product grid doesn’t show up, and I get this message: “Unfortunately, there are no products that match your criteria”.

    This is not good—i’m desperately looking for what is causing this now.

    Avatar: sethr
    sethr
    Participant
    August 16, 2025 at 16:58

    Yeah, this is very troubling—a bunch of my settings under the product tab for the archive page are were different?! Don’t understand that, i’ve reset all of those… but here is the issue still, no products showing up on front end, still seeing “Unfortunately, there are no products that match your criteria”.

    When comparing the product archive settings to my stage site that still has a working /shop page—i see a major difference: Why isn’t the Data Source for content showing up on my live site?

    Was hoping i could just copy the Element from my stage site, and paste into my live site—but it’s not cooperating. Really need some help and resolution here. Thank you in advance.

    Files is visible for topic creator and
    support staff only.
    Avatar: sethr
    sethr
    Participant
    August 16, 2025 at 17:19

    Please don’t go in and touch anything at this point. I’m rolling my site back to yesterday before these changes were made.

    Avatar: sethr
    sethr
    Participant
    August 17, 2025 at 02:04

    Hello—I thought I was back up and running after rolling the site back to a save point from yesterday. All my products show again, but seems I have a new strange issue.

    In the product builder, it shows the correct button “select options”, but when looking at live site, that buttons shows “show details”? And the real issue, is when you click into a given product page, the buy now button is fully missing… so no way for a purchase to be made.

    Can you please help me figure why i have this discrepancy? Thank you in advance. I’m turning on temp access again, but PLEASE, can you respond with direction on how to fix— i’m afraid of more issues, and do not want to roll site back again—as it created some customer service issues with orders that occurred in last 24 hours. Thanks you so much.

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: sethr
    sethr
    Participant
    August 17, 2025 at 02:33

    Continuing to check everything, very confusing, you can see here as well—’form cart’ is in template, buy now button is set to ‘on’… Thanks again for direction here.

    Files is visible for topic creator and
    support staff only.
    Avatar: sethr
    sethr
    Participant
    August 17, 2025 at 04:42

    OK, final message for the evening – i’m sorry this string has become so long. In desperation after scrubbing all the settings everywhere i could think of—i’ve applied this patch to my functions.php file.

    
    // Restore the "Add to cart" + Buy Now area for variable products if something removed it.
    add_action( 'wp', function () {
        if ( ! is_product() ) return;
    
        // If the button area is missing, add it back late.
        if ( ! has_action( 'woocommerce_single_variation', 'woocommerce_single_variation_add_to_cart_button' ) ) {
            add_action( 'woocommerce_single_variation', 'woocommerce_single_variation_add_to_cart_button', 20 );
        }
    }, 9999 );
    // Emergency fallback: print the add-to-cart area even if the above didn't run.
    add_action( 'woocommerce_after_variations_form', function () {
        if ( did_action( 'woocommerce_single_variation' ) && ! did_action( 'woocommerce_single_variation_add_to_cart_button' ) ) {
            wc_get_template( 'single-product/add-to-cart/variation-add-to-cart-button.php' ); // WC 8+/XStore ships this.
            // Older WC: wc_get_template( 'single-product/add-to-cart/variation-add-to-cart-button.php' );
        }
    }, 5 );
    
    

    However, i would still like assistance to troubleshoot why/where the issue really is, as I don’t feel great about the override, and continuing to add to my functions.php file. LMK what you think. Thanks.

    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    August 17, 2025 at 11:13

    Hello,

    We apologize for the delay in our response due to the weekend.

    Kindly try disabling the Catalog Mode by navigating to:
    Theme Options > WooCommerce > Shop > Catalog Mode.

    Warm Regards,
    The 8Theme Team

    Avatar: sethr
    sethr
    Participant
    August 17, 2025 at 12:34

    Ohhhh! YES, this was it. Thank you so much as always~ i’ve now removed the functions.php override, disabled ‘catalog mode’, buttons appear everywhere they should, read correctly etc. Thank you again.

    Avatar: Alex Carter
    Alex Carter
    Support staff
    August 18, 2025 at 06:21

    Hello,

    Thank you for your kind message!

    Best Regards,
    8Theme’s Team

    Avatar: sethr
    sethr
    Participant
    August 18, 2025 at 20:47

    Thanks for the support! My topic “Custom ordering of products in SHOP page” has been successfully resolved.

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

The issue related to '‘Custom ordering of products in SHOP page’' 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.