how can i make when someone add something to his cart to get the other thing that are on sale.

how can i make when someone add something to his cart to get the other thing that are on sale.

Monkatawebrato
New Member
16 0 0

I mean something like this 

Monkatawebrato_0-1720201044924.png

can i add related products there or smh like this 

Replies 9 (9)

SomeUsernameHe
Shopify Partner
519 58 111

Yes, you should have a file called cart-drawer.liquid most of the time it is a snippet. You would go in here and in between </form> and </cart-drawer-items> you would add your code to display products.

</form>
//** YOUR CODE HERE **//
</cart-drawer-items>

 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Monkatawebrato
New Member
16 0 0

where should i paste it exactly 

Monkatawebrato_0-1720202173000.png

 

SomeUsernameHe
Shopify Partner
519 58 111

Do you have a preview link to your store, I would need to inspect it since it isn't the Dawn Theme

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Monkatawebrato
New Member
16 0 0

yeah here is my website- https://e80653-39.myshopify.com

SomeUsernameHe
Shopify Partner
519 58 111

f82cb52719810549643f7622dcafe1a6.png

I would place your code here. After the closing <div data-products></div> but before the closing </div> for <div class="drawer__scrollable">

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Monkatawebrato
New Member
16 0 0

ok but i cant find this 

Monkatawebrato_0-1720203585904.png

 

Monkatawebrato
New Member
16 0 0

on which line should i paste the code?

SomeUsernameHe
Shopify Partner
519 58 111

Scroll up, i think it is further up.

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
Monkatawebrato
New Member
16 0 0

is this the place and if yes on witch line should i paste the code 

Monkatawebrato_0-1720204681283.png