I’m not sure how to do this and I’m at a total dead end. I feel like I’ve tried editing the function.php and cart.php files to no end, on the main and child themes of Signify and Signify Dark, and it literally just does nothing. No visual changes occur whatsoever with any code that I try. I’ve also tried these changes across different themes and I don’t see any difference. What am I missing???
I want to have it so that in my cart, when a coupon code is applied, it shows the discounted price next to the “slashed” original price for each individual item. Anything that looks remotely like this example: [https://www.tutorialswebsite.com/woocommerce-display-product-discount-after-coupon-applied-in-cart-summary-checkout/])
Any thoughts or suggestions on why none of the endless list of codes I enter seems to have any effect on it other than breaking it due to a repeat in code every once in a while?
[ad_2]
For clarity, you’re talking about Woocommerce, the discounts you’re referring to are coupon based discount, rather than “on sale” discounts?
Can you share you URL / an example? What have you tried specifically?
edit: the page you shared appears to have all the right code. Hopefully you put all that code in your **child theme’s** functions.php? Never edit WP, WC or your theme’s source files