Re: Image Missing From Drawer Cart

Why doesn't my shoe customizer image show in the drawer cart?

i3orny
Tourist
5 0 0

For some reason, my integrated shoe customiser will pull through the customers' design into the cart, but not into the drawer cart. 

 

Can anybody help me fix it?

 

jimcharlesshoes.com

 

Screenshot 2024-02-01 at 18.00.33.png

Screenshot 2024-02-01 at 17.58.31.png

Replies 6 (6)

beauxbreaux
Shopify Partner
263 21 45

That information is created dynamically. What would help is being able to see your liquid code for your cart. What I will essentially do to trouble shoot is to look at the if statements that are checking if you are using a drawer or a page and then look at the variables used on both. More likely the variables just weren't set up correctly.  You can message me privately if you do not want to post this code publicly. 

 

Side Note:

While on your page I found another bug. Your pop-up does not have a z-index set. Currently it hides under other elements when you scroll. The easiest way to get this working is by adding in some CSS to your head section of your theme.liquid file or your main CSS which is sometimes named base.css 

 

The code that needs to be added if in header of your theme.liquid right above the closing </header> tag:

<style>
NewsletterPopup{
z-index: 99999;
}
</style>

 

If you find your main css you can put it in that file as well at the very bottom of the file like this:

NewsletterPopup{
z-index: 99999
}
Beaux Barker
Developer
Hire me on Fiverr
i3orny
Tourist
5 0 0
Hey

That's super awesome of you!

If I gave you access could you fix it for me?
beauxbreaux
Shopify Partner
263 21 45

For sure; make a copy of your theme so that I can just make changes to the copy. Once we verify that everything is working correctly you can then just publish it. 

Beaux Barker
Developer
Hire me on Fiverr
i3orny
Tourist
5 0 0
Ahh I can't really make a copy because all my pages are built with Gempages
and it might break all the links
beauxbreaux
Shopify Partner
263 21 45

That is A-Okay. I can take a look at what you have, if i make any changes I will just copy the full page and paste it into a text editor for a backup for you to have the original code. It is just good to keep revisions. Because you are using a 3rd party to build your pages they should be a bit different from typical Shopify pages. If I can't figure it out it might be something you need to get in touch with GemPages about if something needs to change on that side. But usually something like this can be fixed with a little JavaScript and linking the correct data attribute. I noticed from your cart page the item does have the data attribute data-cart-item-key and the drawer item does not have this. 

Beaux Barker
Developer
Hire me on Fiverr
i3orny
Tourist
5 0 0
Okay.
How do I give you access? I'm very grateful to you for helping. I know a
little about liquid etc but not enough to feel comfortable playing with the
code