Shopify themes, liquid, logos, and UX
Hello,
I currently have and operating a clothing business selling apparel with my designs on it.
A local business has approached me asking for me to create and distribute their apparel for their employees. I have already created their own collection with a custom template. The issue I'm having is I'm only able to alter and customize the "TEMPLATE" section. I want to be able to change and customize the HEADER area and maybe the footer if possible. I would like the employees to visit a page that has a look and feel of their company and not mine. For example the Main header logo, and the drop down menu bar gear more for them instead of my company for that Specific Collection ONLY.
I also need to password protect this collection so the general public can not purchase or view these products.
Hi,
In order to change the header and footer in the custom template, you'll need to use conditionals.
For example, Let's say that the custom template you created for the local business is called “template-x”. And let's say that you want to display a custom header instead of the default header for “template-x”.
After you create the custom header, we’ll call it “header-group-x”, to suit your needs, some code modification will need to ensue.
In the Dawn theme for example, what you would do is this:
{% sections 'header-group' %}
{% if template.name == "template-x" %}
{% sections 'header-group-x' %}
{% else %}
{% sections 'header-group' %}
{% endif %}
And then you would just do the same thing for the footer.
Hope that helps.
I kind of understand, but how do you create the custom header. It was easy to set up a custom template in the custom COLLECTIONS area which is done right in the shopify themes. I only want the header and template area to be custom for this "ONE" collection for this one company.
Thank you for your help
The custom header creation and code manipulation are going to require some understanding of coding. You don't need to become a full-fledged programmer, but you'll need to pick up some basic coding knowledge.
If you’d rather not deal with any of that, then your other option is to hire someone to do it for you.
Here are two good YouTube channels for learning about Shopify theme coding. They have specific videos that show how to complete small theme modifications.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024