Is creating a custom product template in Dawn 4 possible?

I want to create a custom product template in Dawn 4, but coded by me and not created from the backend. Is that possible? A little dizzy of all the changes in 2.0, but love it so far.

I want to move the product description below the images, but also create a contextual bottom sticky bar (so felt custom liquid within the theme wasn’t enough) with shipping, delivery info etc.

Feels more natural to code a custom template (not even sure that is the correct term anymore with 2.0) to be pickable in the backend. Like “Extended product template” rather than “Default product”.

I don’t want to make hard-coded changes to the main product section. Feels, well ugly.

@LostPer

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

That was amazingly friendly and awesome reply. Thank you for that!

I actually figured out how to do it myself. It was a typo on my behalf that didn’t made it work when first testing. So if anyone else is facing this, this is the steps I used.

  1. Create a new template (in template directory) named product.myname.json
  2. Copy content of product.json into this new template (replace everything)
  3. Create a new section named product-myname.liquid
  4. Change type to match my new section name (in the new template file)
  5. Save both
  6. Create a new CSS that I included after the main section product CSS in my new product template (for overrides and make it more future proof for updates)
  7. Go into admin and pick the new product template on a product
  8. Start to make changes to the template file and my CSS.

Hope this helps someone

@LostPer

wow that would be great

thanks for update