Add line item properties to dynamic checkout button "Buy it now"

Add line item properties to dynamic checkout button "Buy it now"

mak7kdnchk
Shopify Partner
6 0 1

I try to add line-item properties to dynamic checkout button "Buy it now". 

 

<p class="line-item-property__field">
 <input type="hidden" id="element-id">
 <input type="text" name="properties[Value]">
 <input type="checkbox" value="value" name="properties[Value2]" id="element-id2" 
 <label htmlfor="element-id2">Label</label>
</p>

 

It sends properties only when i click on "Add to cart" and then on the cart page click on "Check out" button.
I need properties to be sent from the product page when i'm clicking on "Buy it now" button. In this case now i receive 

 

"properties": null,

 


Does anyone can help to solve this issue? 
Thanks.



Reply 1 (1)

noah_haub
Shopify Partner
25 2 5

Have you ever solved this issue?