PLEASE HELP - How do I add 'render' liquid to add to cart button in Dawn 10.0 ??? #2764
Replies: 2 comments
-
Nobody ? |
Beta Was this translation helpful? Give feedback.
-
@johnlfitz01 you'd put this either in the buy-buttons, or more sanely create this a block for the main-product section. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#form i.e. every input would need it
product_form_id variable https://github.com/Shopify/dawn/blob/main/sections/main-product.liquid#L77 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm scratching my head here.
On www.giftsfinder.co.uk, we sell personalised products. I want to move to Dawn theme given it's speed.
In my current (live) theme, I inject the following liquid into the "product-form.liquid" in order to capture the customer's photo uploads and / or personalisation text for that given product:
{% render 'personalisation' %}
I can't work out where the equivalent place to enter the same code in the Dawn Theme 10.0.
Whenever I attempt to use the above render code nothing happens???
Some examples of how this renders in live can be seen at:
https://www.giftsfinder.co.uk/products/personalised-grey-pawprint-name-14cm-medium-pet-bowl
https://www.giftsfinder.co.uk/products/2024-personalised-photo-calendar
https://www.giftsfinder.co.uk/products/personalised-best-ever-photo-upload-mug
I'm stumped.
Any ideas? Much appreciated.
The 'personalisation.liquid' code is attached.
personalisation.txt
Beta Was this translation helpful? Give feedback.
All reactions