How to add note or attributes field for requesting CPF number in checkout.liquid

Solved
Highlighted
New Member
9 0 0

Hi. 

 

I would like to add a field to ask CPF number in checkout page.

 

I have  added

<input class="field__input" id="" placeholder="cpf number" aria-required="true" name="attributes[cpf]"> this code by  javascript in the form of checkout page of which the Checkout step is 'contact_information' and proceeded payment.

 

It didn't work. similar code worked in cart-template.liquid but this doesn't work in checkout.liquid 

 

Can you please help me to resolve my issue?

 

Thank you in advance.

 

0 Likes
Highlighted

Success.

Shopify Expert
2940 500 675

Hi @GP__2014 

This attribute only work on cart page not on checkout page. even i don thing you can add on checkout page, because we have not code editor for checkout page

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
New Member
9 0 0

I see. Thank you for your answer.  

0 Likes