Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
I'm trying to figure out how to remove both the header and footer menus from the cart page (to remove customer distractions). Any solutions on how I can achieve this?
note that I am using the prestige theme
Solved! Go to the solution
This is an accepted solution.
in order to to that you need to add the condition in theme,liquid where heare and footer group I called just follow these steps:
{% unless template == 'cart' %}
<!-- Header Code -->
{{ 'header code here' }}
{% endunless %}
{% unless template == 'cart' %}
<!-- Footer Code -->
{{ 'footer code here' }}
{% endunless %}
Hope this works if it is not kindly share your store collaboration code in a private message I will check and update the code for you.
If it worked, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going!
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Hey @Tzadik_Barak
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Hi @Tzadik_Barak , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
This is an accepted solution.
in order to to that you need to add the condition in theme,liquid where heare and footer group I called just follow these steps:
{% unless template == 'cart' %}
<!-- Header Code -->
{{ 'header code here' }}
{% endunless %}
{% unless template == 'cart' %}
<!-- Footer Code -->
{{ 'footer code here' }}
{% endunless %}
Hope this works if it is not kindly share your store collaboration code in a private message I will check and update the code for you.
If it worked, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going!
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536