Contact Form Not Showing, Default template not showing in page template menu at top of page.

Solved

Contact Form Not Showing, Default template not showing in page template menu at top of page.

RodorianJewel
Excursionist
15 2 1
I give my greetings to you all in the Community:
I had a Contact Us form on my shopify dawn pages for  months, somehow there not there anymore. The words are there, but the contact form is not. Don't know if I messed something up,or not.  I also noticed that when I tried to start over and add a new page, and put in title: Contact Us, and short description in the content section. Then, I go to the template menu, open it, and there is no Contact Us in there.  So, i decided to go back to my store homepage and try to make a new Contact Template there. The first thing I noticed when I opened the template at the top of my homepage, was at the top of the list of product templates, there was no default template, There's where I knew somthing wasn't  right and this may be the reason why I'm having this template problem. But I tried  to make the contact page any way.  But, in the: Based On  section, there is no Contact Us there either.  So it got created on another page, like: BraceletsRings, or Watches.  And yet, still no Contact form present, just the words and a few products at the bottom.  So, I'm all over the Internet trying to find a way to reset my default.  I finally found a solution, removing a code from my code editor in the Theme Liquid, template, Asset part of the menu.  I was so happy, it was a success!  But, it didn't change anything. I sent copies to see if you see anything that stands out to you, that could be preventing the Contact form from appearing.
 
I sincerely thank you for your time & patients
Rodorian Jewels

Default-Main-1  9-21-24.jpgDefault-Main-2  9-21-24.jpgDefault-Main-3  9-21-24.jpg

 

RodorianJewel
Accepted Solution (1)

Laza_Binaery
Shopify Partner
133 31 50

This is an accepted solution.

Hi @RodorianJewel 

 

It looks like some mixup with the code. I noticed one thing in your layout/theme.liquid. You have a strange  "</script>"  so closing script tag at the very top. Most likely left over of some code you wanted to place there. But for contact page template please make sure your live template have page.contact-us.json. If it does it must be shown under templates when you click to edit the Contact US page.  For code for page.contact-us.json check maybe the original code 

https://github.com/Shopify/dawn/blob/main/templates/page.contact.json

compare and see if you do have a contact form section.

Kind regards
Laza
www.binaery.com

View solution in original post

Reply 1 (1)

Laza_Binaery
Shopify Partner
133 31 50

This is an accepted solution.

Hi @RodorianJewel 

 

It looks like some mixup with the code. I noticed one thing in your layout/theme.liquid. You have a strange  "</script>"  so closing script tag at the very top. Most likely left over of some code you wanted to place there. But for contact page template please make sure your live template have page.contact-us.json. If it does it must be shown under templates when you click to edit the Contact US page.  For code for page.contact-us.json check maybe the original code 

https://github.com/Shopify/dawn/blob/main/templates/page.contact.json

compare and see if you do have a contact form section.

Kind regards
Laza
www.binaery.com