Viewing 9 replies - 1 through 9 (of 9 total)
  • I have the same issue on my site!

    That must be a plugin issue.

    Same issue here, must be a bug with the latest release, it was working beforehand. I’ll submit a bug report with Woothemes.

    Thanks deeve007,

    Same here.
    For both [sale products] and [product_category].
    I’ve tried disabling all plugins and using the default WP theme and its still broke.

    yes, I’ve got the same issue here

    People: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    All you are doing at the moment is ensuring that no one gets an answer.

    How would creating multiple threads of EXACTLY the same problem get an answer more than one thread with many people confirming the issue is a common one? And first time I’ve been on a forum anywhere where they wanted members to create multiple threads on exactly the same subject.

    I’ve also added it as an issue on Woocommerce github. If they respond there I’ll also update this thread, so everyone gets an answer. I’m certainly not going to update multiple threads.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    How would creating multiple threads of EXACTLY the same problem get an answer more than one thread with many people confirming the issue is a common one?

    It’s quite easy to attempt to help one person at a time, whereas it’s not easy to help multiple people at a time. Also most of the time you don’t know you have the exact the issue as much as the next guy, the most you could know is you have the same symptom.

    It’s not a huge amount of effort to create a new thread, it’s how www.remarpro.com forums work, it’s not going to detriment you.

    @deeve007: These forums have guidelines. Please read them. As you will see, one of these guidelines – entitled Where to Post – specifically states:

    Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else’s thread. Start your own topic.

    Please abide by this.

    Hi guys, I’ve opened my own tread and “Leandro Martins Guimar?es”, member on this forum handed me this solution from “otggamer”

    I’ve tried it and it works like a charm! Game on!

    As a workaround, add this code to your functions.php:

    // DELETE ON SALE TRANSIENTS WHEN POST SAVED
    function delete_sale_transients() {
    global $post;
    if( $post->post_type == ‘product’ ) {
    delete_transient( ‘wc_products_onsale’ );
    }
    }
    add_action( ‘save_post’, ‘delete_sale_transients’ );

    And just open and save anyone of your products to refresh cache data.

    Anyway, we’re still waiting for a better solution from WooCommerce guys.

    This solution was originally suggested by “otggamer” here: https://support.woothemes.com/hc/communities/public/questions/201933598-On-sale-products-not-displaying-in-Woocommerce-products-widget

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘sale_products shortcode does not work’ is closed to new replies.