Remove header and footer menus on cart page prestige theme

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

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

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 here' }}
{% endunless %}

{% unless template == 'cart' %}
  
  {{ '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!