Customisation of Ecommerce

W3 DEV asked on June 23, 2016 09:45

I would like to know the best way to customise a product add to cart form and add additional fields depending on the quantity of that product.

Eg I want to add a name field for each product added. it is only on one particular product.

Any guidance or a starting point would be appreciated.

Recent Answers

David te Kloese answered on June 23, 2016 11:37


Do you want to add a value stored at the SKU (I'd say store it in the SKU item) or do you want the customer to enter a custom value during the process?


0 votesVote for this answer Mark as a Correct answer

W3 DEV answered on June 24, 2016 00:21

Thanks for your reply.

Our plan is to record a name against each item during the process. So more related to the order.

For example: Record the name of the person against each item ordered so we know who to collect.

Ideally, if user updates the quantity to 3, then three text fields would display for user to enter the names for each. If there are 2 then only two name fields will display. These will then be recorded against the order which can then be found at a later point on the invoice and in the backend.

I hope this helps clarify my requirements.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.