Site logo

Archived topic

Regular Price Now Shown In Variable Products - Only the Sale Price is displayed

5 replies · Started by gunash on November 28, 2021

Viewing posts 1–6 of 6

I couldn't find the regular price of the variable product on shop page and the product page.
Only the sale price is been displayed and I couldn't find out how to recover regular price that is strike out and to be shown both (regular price + sale price)
example- ₹1,699.00 ₹889.00 Incl Of GST

Kindly help.

Hi there,

Striked-out regular price + sale price won't show up on items that are variable products on product archive pages because the variant's price for these variable products isn't determined on display on archive pages.

The "Striked-out regular price + sale price" will only display on single product page WHEN the variant is determined as shown in this example - https://share.getcloudapp.com/7KuAw5X4

This is WooCommerce default behavior. If you have specific customization in mind, you may have to check on WooCommerce support if they provide this in one of their products. (or perhaps hire a custom developer if you have specific condition/function in mind) :D

Can you check the product's variations on the backend if they have a set regular price and sale price for each variant?

The function is actually working on that page but it can't seem to fetch the values it's supposed to display. This is likely because there's no value assigned to it(the variants).

Hi there,

The single product link you attached works normal to me, the sale price is there with the regular price. href="https://www.screencast.com/t/0OLr">https://www.screencast.com/t/0OLrSfrw

Are there any other product page is not showing correctly? Let me know!

This archived topic is closed to new replies.