Shopify themes, liquid, logos, and UX
Hello 🙂
Is is possible to have your own template for Privacy policy, Refund Policy and Terms of service?
Thanks in advance
Any solutions??
I was looking to do something similar. I couldn't find a way to edit the way the page was displayed. The solution for me was to create separate pages for the legal pages and then copy and paste the text from the legal pages in shopify settings. e.g. Privacy policy, Refund Policy and Terms of service.
This allowed me to edit the content and display the page how I wanted.
Hope this helps.
Here's my take on it: the policy objects are global and can be pulled into any page on the site. My guess is that the privacy policy is a global object in case it needs to be pulled into other pages such as contact forms.
Ignore the default layout and copy page.liquid, calling it something like page.privacy-policy.liquid.
Inside this template, you have access to four pieces of content:
Create a new page called Privacy Policy and apply your new template to it. Fill out the heading and introduction copy and save the page. Add it to the navigation of your site. Note that the automatically generate Privacy Policy page can be found from a pop-up which appears from the link field, once it has focus - do not select this page! Instead, from the same pop-up menu, select Pages and then your new Privacy Policy page should be available as an option.
Unfortunately, you'll need to repeat this process for the other policy pages, which will require unique templates too.
Even though this thread is old I'd like to weigh in that the proposed solution causes issues when you're using the Google app in Shopify to sync your products with Google Merchant Center.
To sync your products, Google requires that your Refund Policy is added to the footermenu of your pages. I created a page and included the policy-text there and linked that in the footermenu.
However, this is not accepted. It HAS to be the Shopify-created policy pages for some reason.
I am still looking for a solution to change these policy page templates because they are not in line with how my other pages look; they're narrower than other pages and the title is un-changeable. Any help would be welcome.
Nevermind this reply... After posting my response, I realized that I had pretty much just repeated what @Ross_Angus has recently posted. I misread his post, and Shopify doesn't give an option to delete your post, so here we are. Absolutely do what he said above. 👍
When taking into consideration the response from @MsMinis, where the policy must exist as a Policy and not a page, I've decided to go with the following option...
CSS Rule to go full width...
.shopify-policy__container {
max-width: none;
}
Within the content of each policy, I've switched to code view and added the following to the top...
<div class="page-width page-width--narrow">
<h1 class="main-page-title page-title h0">ENTER YOUR TITLE HERE</h1>
<div class="rte">
I've then closed that code up at the bottom of the content for each policy...
</div>
</div>
Finally, I've added another CSS rule to hide the default title...
.shopify-policy__title {
display: none;
}
.shopify-policy__container { max-width: none; } works great!, thank you!
Hi - where does the css reside? is there a css file for policies in liquid assets? I couldn't find it.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024