Customization shopping cart - Discount display and wide items

mjmega
Visitor
2 0 0

Hello all,

 

1.)I would like to remove the 2 strike prices (old prices) and on the left replace this with the word "Rabattt" so that I see in the shopping cart  (Rabatt -2,84 €)

 

2.) Also I would like to remove the strike price on the right side above the current price

 

3) I would like the text of the items is not wrapped but displayed in full length

 

It is about https://www.megabannerxxl.de

 

mjmega_0-1670271874168.png

 

Replies 3 (3)

JHKCreate
Shopify Expert
3571 639 916

Hi @mjmega 


Would you mind sharing the easiest product that can be added to cart to have the above answered?

 

Let us know, we can assist on that.

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
mjmega
Visitor
2 0 0

Hey @JHKCreate - this is the simplest products all of our products are configured to 

JHKCreate
Shopify Expert
3571 639 916

To answer #2 and #3 and part of #1, add the following code to your component-cart-items.css file at the very end:

 

/*Hides Scratched Price On Right Hand Side*/
s.cart-item__old-price.price.price--end {
    display: none;
}

/* Hides Old Price on the left*/
s.cart-item__old-price.product-option {
    display: none;
}

/*Extend Title Width*/
.cart-item__details>* {
    margin: 0;
    max-width: fit-content!important;
}

 

For the "Rabbat" to be added, we would access to your theme's code to be able to add that through a customization, let us know what you think!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com