So guys I am working for a client and she is using Prestige theme. On her Cart Drawer page as of now the CHECKOUT button does not show when price is 0.00. But she wants to see the CHECKOUT button when price is 0.00 but should remain disabled & visible with grey background and non-clickable until someone adds a product and the CHECKOUT button should become active. In order to achieve this what needs to be done? She is using the Shopify normal plan. Let me know what to do.
Hi @Venom3000 ,
Please send your site and if your site is password protected, please send me the password. I will check it.
Hi @LitExtension here is the link. Please look in mobile view first then click on the Cart Drawer on top-right. You can see the active Checkout button. I just want that to be inactive when cart is empty only. And when I fill something in the cart, it should be active again.
Thanks
Hi @Venom3000 ,
I can’t find the attached link, can you resend it?
Here is the link again: https://y0gsvyyauscw7s5h-6230802535.shopifypreview.com
Hi @Venom3000 ,
Please send me the code of sidebar-cart file, I will help you to check and add it
Which file do you need? I have 3, namely:
-
cart-drawer.liquid
-
cart.liquid
-
cart-items.liquid
Please note that I only need this to be seen on mobile view and in the cart drawer, nothing for desktop.
Let me know.
Thanks
Venom
Hi @Venom3000 ,
It is cart-drawer.liquid file
Here you go. Its attached
Hi @Venom3000 ,
I checked and it is not cart-drawer file, did you send the correct file content?
Try this… The theme used is Prestige
Hi @Venom3000 ,
Please find ‘Cart__Checkout’ and add code here:
Code:
{% if estimated_total == 0 %}disabled style="opacity: .5;"{% endif %}
Hope it helps!
Just tried that… Doesn’t work.
Hi @Venom3000 ,
You can create a staff account for me or send me the source theme, I will help you debug it
