Dawn Theme - Custom text fields and dropdown menu

Solved

Dawn Theme - Custom text fields and dropdown menu

anna_an
Tourist
3 0 2

Hello,

My website currently uses Brooklyn theme, but I want to switch it to Dawn. We offer customizable clothing, so we need certain fields for customer to choose from. One is a text field where people can type their name, and other is drop down menu, and also a checkbox. I'm attaching pictures from my current theme of how it looks like.

I am aware of the fact that there are free/paid apps that can help me with this, but I'd prefer to go the same way as I went with Brooklyn.

This is the tutorial I used for Brooklyn: https://community.shopify.com/c/shopify-design/product-pages-get-customization-information-for-produ...

The code for Dawn is different so I don't wanna mess it up before asking here. 

Screen Shot 2021-09-30 at 1.20.19 PM.pngScreen Shot 2021-09-30 at 1.20.36 PM.pngScreen Shot 2021-09-30 at 1.20.50 PM.png

Accepted Solution (1)

JHKCreate
Shopify Partner
3571 638 926

This is an accepted solution.

Hi @anna_an 

To use said fields you need to use line items which are universal in their coding and work on any theme: Line Item Property – Shopify UI Elements Generator (ui-elements-generator.myshopify.com)

Let me know if you need further assistance!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com

View solution in original post

Replies 5 (5)

JHKCreate
Shopify Partner
3571 638 926

This is an accepted solution.

Hi @anna_an 

To use said fields you need to use line items which are universal in their coding and work on any theme: Line Item Property – Shopify UI Elements Generator (ui-elements-generator.myshopify.com)

Let me know if you need further assistance!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
anna_an
Tourist
3 0 2

Thank you! 

So it is the same as what I did before. Thanks for confirming.

anna_an
Tourist
3 0 2

@JHKCreate I actually have noticed today that even though the line property I created is required and suppose to show at checkout it does not do that and customers are able to put item in cart without typing their name, and if they do type it, the item in cart doesn't show the personalization.

<p class="line-item-property__field">
<label for="your-name">Your name</label>
<input required class="required" id="your-name" type="text" name="properties[Your name]">
</p>

ksgopan
Tourist
4 0 1

Hi 

This was useful.  Just another question.. what if I want to add a cost to the customizable option for e.g. monogramming - if the customer selects it I want to add an additonal charge to that

That was earlier doable in debut.  How will it work in dawn

HayaDDch
Excursionist
13 0 2

Hello, I am actually facing an issue with adding custom text fields with the Impulse theme. I followed the same tutorial but can't find the code type="submit" in product.customizable.liquid

Anyone can help me with this?