Custom fields for each item in basket
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Custom fields for each item in basket
I'm using Aimeos to sell online virtual courses, where each course is a product. In a scenario where a single customer is buying a course for multiple people (quantity 5 for example), how would I be able to get additional details on the people? Specifically, how can I add a few custom fields for name and email address attached to each of the 5 items?
Hope this question makes sense!
Hope this question makes sense!
Re: Custom fields for each item in basket
Yes, sure. You can use attributes of type "custom" like in the demo (text for print) multiple times:
http://laravel.demo.aimeos.org/default/ ... _article/0
There's also an Aimeos based site that did something very similar than you want to do:
https://www.skischule-mittelberg.at/buc ... d_pos%5D=5
http://laravel.demo.aimeos.org/default/ ... _article/0
There's also an Aimeos based site that did something very similar than you want to do:
https://www.skischule-mittelberg.at/buc ... d_pos%5D=5
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Custom fields for each item in basket
Ok, I think I'm almost there!
Is there a way to add validation to the additional fields? For name and email, and make them required fields?
Is there a way to add validation to the additional fields? For name and email, and make them required fields?
Re: Custom fields for each item in basket
You have to do this via Javascript as there's currently no other way to do the validation.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star