Show Strikethrough Regular Price in Cart and Checkout WordPress Function

When a product is on sale, displays the regular price crossed out next to the active price across cart, checkout, and mini-cart—highlighting savings and boosting promo clarity.

19,99 

Request function

View Privacy Policy

Description

Show Strikethrough Regular Price in Cart and Checkout WordPress Function

What it does?

  • Hooks into all key spots: Cart line items, checkout line items, and the mini-cart/widget.

  • Sale-aware display: If an item is on sale, prepends the regular price as a strikethrough before the current price.

  • Light styling included: Adds inline styles for the crossed-out amount (you can move this to your theme CSS).

Why it’s useful?

  • Improves transparency: Shoppers see the discount right where they decide, reducing hesitation.

  • Reinforces promotions: Clear before/after pricing increases perceived value and conversion.

  • Consistent UX: The same savings presentation appears in cart, checkout, and mini-cart.