Support » Plugin: WooCommerce » Is it possible to display regular price insted of sales price in cart totals?

  • Resolved cheonmu

    (@cheonmu)


    Hi,

    If item is on discounted, the Subtotal on Checkout and Cart pages shows the discounted price for the item.

    However I am using You Save function so I want the regular price (Original Price) to be shown in the sub total, instead of discounted price.

    This is how the cart and checkout pages look now:

    Now, if item is on discounted, cart total displayed like below.

    Subtotal : 50USD
    Shipping : free
    Total: 50USD

    This is what I want:
    Subtotal : 100USD
    Shipping : free
    You save : -50USD
    Total: 50USD

    (screenshot)

    I know how to display “You save” but i dont how how to change subtotal price to regular price.

    Could you please let me know how I may be able to do so?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Niels Lange

    (@nielslange)

    Hello @cheonmu,

    On https://www.businessbloomer.com/woocommerce-display-total-discount-savings-cart/ you can find a code snippet that should display the total price and the savings on the cart and checkout page.

    Please note that this is just a link I found via Google, and that this resource is not affiliated with WordPress.com. Therefore, we cannot guarantee if the code snippets works as expected.

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

    Hi @cheonmu I got the same problem

    • This reply was modified 1 year, 9 months ago by yeqiu.
    • This reply was modified 1 year, 9 months ago by yeqiu.

    Hi
    The link shared here does not provide the answer of the original question. How can we show the sum of only regular price instead of discounted price in cart subtotal value shown on cart and checkout page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is it possible to display regular price insted of sales price in cart totals?’ is closed to new replies.