News:

Looking for documentation? Take a look on our wiki

Main Menu

Does VM allow unlimited extra fields at buyers cart for extra info?

Started by ExSpirit, November 12, 2015, 17:47:18 PM

Previous topic - Next topic

ExSpirit

I would like to sell some specific concert tickets at my shop and I have one problem. One person can buy more tickets (for his coworkers, family, friends,...) and I have to know information of people who will intend the concert (I must get their name, age and phone number - each in custom field), so I would like to have 3 fields for each person who will be at the concert (so if 5 tickets is ordered, I should have 15 extra fields where buyer writes all info of people who will go to the concert). I really don't know how to do this in VM3 (is it even possible?) or is there maybe any plugin which allows something like this?

Milbo

It is possible, by buying it one by one. textinput plugin (shipped with the aio) should be enough
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ExSpirit

It shouldn't be one by one, it has to be multiple ticket in one order. If I wouldn't allow users to buy more than one ticket then I wouldn't even need those fields because each buyer could create his own account, but that takes way to much time and I must have an option to buy multiple tickets.

Milbo

Yes, so you talk about products.For each ticket. If you learned that, you may find a way to add more than one ticket at once with different description.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ExSpirit

I don't understand what are you trying to say. I don't know if you understand what I need, so I'll write an example:

- Buyer buys 5pcs of some item and goes to the cart. In cart (along with his delivery info, payment,...) he should get 15 extra fields where he writes some info of each person who will use one of those 5 products which he ordered (so in first field name, second field phone and in third his age).

- Buyer buys 2pcs of some item and goes to the cart. In cart (along with his delivery info, payment,...) he should get 6 extra fields where he writes some info of each person who will use one of those 2 products which he ordered (so in first field name, second field phone and in third his age).

- Buyer buys 1pcs of some item and goes to the cart. In cart (along with his delivery info, payment,...) he should get 3 extra fields where he writes some info of person who will use that 1 products which he ordered (so in first field name, second field phone and in third his age).

Milbo

I understood that. But the workflow is not fixed. Logically the information belongs to the ticket, not to the cart. Why it cant work this way?
Shoppers opens the product. Sees 3 fields, he must fill the fields then he can add it to the cart. In the cart he sees the ticket with his entered data. When he wants to add a new ticket, he opens the product again, enters the data and it to the cart.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jörgen

Why does this have to wait until the cart?

Why can´t You fill in this info in the custom fields for each ticket as You order them, one by one. Not on separate orders but on one order.

This should be an easy task.

[edit Milbo came up with the same answer while I was typing]

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Milbo

Right Jörgen. I would then try to enhance the workflow. For example change the text "continue shopping" to "Buy another ticket" then he would need a hack (as some others), that the "continue shopping" points on the same product, not the same category. And if he is in the cart, a small js hint "click here to add another ticket". Stuff like that.
And logically the data belongs to the ticket, not to the order. When someone buys a ticket for another person and gives the ticket to this other person, the data of the ticket must fit to the person. Not the data of the order.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ExSpirit

Well the fields can also be at the product page (above add to cart button), but if someone selects that he would like to buy 5 tickets, then I need to show more fields for all those 5 people. I know I can solve this by limiting max order to 1, but then it would take a lot of time and clicking for someone who would buy 10 tickets - he would have to go to the product 10 times instead of only one and write all the data at once.

Would it be possible to make it so that if buyer changes to more than 1 pcs that extra fields are shown below (so if he selects 5 pcs 5 times more extra fields are shown - so 3 x 5 = 15 fields)?