• Resolved rr3y

    (@rr3y)


    I should create a page with all the products that I have put on sale, what can I do? With the standard loop
    
    _sale_price
    
    _min_variation_sale_price
    
    I can't see them
Viewing 1 replies (of 1 total)
  • Hi @rr3y,

    Because of the way the discounts are applied, you won’t be able to get them in a regular loop.

    We have an helper function that will return all (regular WooCommerce) products on sale + the ones on sale because of our plugin: wctd_get_product_ids_on_sale().

    The function will return an array of Product IDs.

Viewing 1 replies (of 1 total)
  • The topic ‘Loop On Sale Product’ is closed to new replies.