• Resolved han2thajo

    (@han2thajo)


    I remember around 2 months ago, Products with sale price of 0 were deemed as a sale item and they were showing up on the On Sale section of my Storefront theme and on my On Sale page.

    So it looks like the latest versions of Woocommerce no longer recognizes Sale Products with sale price of 0 as a sale item. I created a test product with Regular Price of 2 and Sale Price of 0, it doesn’t show up on the On Sale section of my Storefront theme (it is up to date) and on my On Sale page (which I use the following shortcode [products limit=”16″ columns=”4″ orderby=”rand” class=”quick-sale” on_sale=”true”]). If I change the Sale Price to 1, it will then show up on the On Sale section of my Storefront theme and on my On Sale page. The sale items that you see on the On Sale page are old items. Any new sale items I put up with sale price of 0 will not show up.

    Is there a way to revert this previous setting?
    How do I display products with sale price of 0 on my On Sale page because the shortcode that I have been using no longer works?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • AJ a11n

    (@amandasjackson)

    Hi there,

    Have you tried using the WooCommerce blocks?

    There is a specific block available to display sale items on your page, and it works correctly to display sale items that are set to $0.00


    Link to image: https://cld.wthms.co/olX8w0

    • This reply was modified 5 years, 5 months ago by AJ a11n.
    Thread Starter han2thajo

    (@han2thajo)

    Hi Amanda

    Thanks for the suggestion but yes I have tried WooCommerce Blocks before.
    If I set the sale price as 0, no products will be displayed
    Link to Image: https://prnt.sc/nyfpox
    If I set the sale price as 1, it will be displayed
    Link to Image: https://prnt.sc/nyfq4y

    Does anyone know a way to only display products with Sale Price of 0?

    AJ a11n

    (@amandasjackson)

    Thanks for the screenshots, but as you can see from my example, a product with a sale price of 0.00 does show using only WooCommerce and the Storefront them.

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:
    ?

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thread Starter han2thajo

    (@han2thajo)

    Already using the Storefront theme and it’s up to date.
    Disabled all plugins except for WooCommerce and Sale Items with $0 is still not appearing under On Sale section of Storefront.

    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    Hi there,

    If this is occurring with the latest version of WooCommerce ad Storefront on your site, it’s most likely a conflict with some custom code that has been added or a plugin on the site. I’d recommend completing a full conflict test as outlined above, including disabling all plugins and any custom code that has been added to the site and/or any child themes being used.

    AJ a11n

    (@amandasjackson)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sale Products with sale price of 0 no longer considered a sale item’ is closed to new replies.