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

Remove header and footer menus on cart page prestige theme

Solved

Remove header and footer menus on cart page prestige theme

Tzadik_Barak
Visitor
1 0 1

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

Accepted Solution (1)

Mehran_Ali
Shopify Partner
462 63 70

This is an accepted solution.

Hi @Tzadik_Barak 

 

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:

  1. Go to online theme -> theme
  2. select 3 dots and select code edit
  3. Search for the theme. liquid file 
  4. in that file search for code say render header and render footer
  5. wrap up that both codes under unless conditions mention below

 

{% 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

Buying Me A Coffee.

-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

View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
7764 2082 2568

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

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


steve_michael2
Navigator
454 39 62

Hi @Tzadik_Barak  , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

Mehran_Ali
Shopify Partner
462 63 70

This is an accepted solution.

Hi @Tzadik_Barak 

 

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:

  1. Go to online theme -> theme
  2. select 3 dots and select code edit
  3. Search for the theme. liquid file 
  4. in that file search for code say render header and render footer
  5. wrap up that both codes under unless conditions mention below

 

{% 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

Buying Me A Coffee.

-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