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” >
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024