My new site is almost finished and I have had only 1 problem that I cannot solve on my own:
When populating the various policies fields with information (i.e. shipping, refund, privacy, etc) on the policy page in Settings, the corresponding hyperlinks get added to the footer automatically. This is slick. However, I added info into the Contact Information policy field but then decided I didn’t need it because the field’s tooltip said it was only necessary if doing business in the EU (which I’m not), plus I already have a Contact Us page established and linked in the main navigation. So I cleared the Contact Information policy field and saved the settings page but the link did not disappear as it should. I made sure the field was 100% clear, but no matter what I do I cannot get that Contact Information link to go away. When you click on it a blank page renders with a proper header and footer and the text ‘Contact Information’ in the body. When I repopulate the field with information it renders a page with the information entered properly. When I clear that field it should remove the link completely, as it does when I clear any of the other policy fields like shipping, privacy, etc. This is an obvious bug with the Contact Information field and logic. I’m using the Dawn template. I even inspected the markup and can see where the if-then-else logic checks for a null value in the policy field in the loop rendering those links; it’s obviously not being respected somehow.
Any help anyone can offer would be muchly appreciated.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the tag
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the tag
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!