Shopify themes, liquid, logos, and UX
Solved! Go to the solution
This is an accepted solution.
Hi @DenaHome ,
For this you would need to modify cart.liquid. You would use Liquid line_item.compare_at_price to display the discounted price. Then add a CSS class for the strikethrough effect.
This is an accepted solution.
Hi @DenaHome ,
For this you would need to modify cart.liquid. You would use Liquid line_item.compare_at_price to display the discounted price. Then add a CSS class for the strikethrough effect.
Ok, so what to write in css?
Hi @DenaHome,
css can be inline like so:
<span style=“text-decoration: strike-through” >
Or give it a class name and place the style in between
<head>
.alt-price {
text-decoration: strike-through;
}
</head>
<span class=“alt-price” >
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024