Product Per Option Limit
Posted: Thu Apr 25, 2024 5:10 am
Hi all,
Does any one know how to get around this problem.
I have an OC site selling event tickets. I have assigned an option to the ticket for the event attendees name. For each ticket that is added to the basket the name option must be filled in. The problem I'm having is sometimes the event ticket number is going up for the same attendee. Here's an example.
Ticket price £10 - Attendee name = Steve. This is correct.
If there are say two Steves on the same booking I should get this:
Ticket price £10 - Attendee name = Steve.
Ticket price £10 - Attendee name = Steve.
What I'm getting is:
Ticket price £10 - Attendee name = Steve with quantity of 2 in the cart @£20.
I have removed the quantity option from the product page. I have also removed it from the cart page. Still no luck. What I'm looking to do is have OC limit each ticket to the value of 1 each time. Each time another ticket is added it creates a new line in the cart for it and not double up on the original ticket.
I should be able to fix this but sadly I'm stuck. All help is appreciated.
OC 1.5.6.5. OC Bootstrap Pro theme. PHP 7.4
Does any one know how to get around this problem.
I have an OC site selling event tickets. I have assigned an option to the ticket for the event attendees name. For each ticket that is added to the basket the name option must be filled in. The problem I'm having is sometimes the event ticket number is going up for the same attendee. Here's an example.
Ticket price £10 - Attendee name = Steve. This is correct.
If there are say two Steves on the same booking I should get this:
Ticket price £10 - Attendee name = Steve.
Ticket price £10 - Attendee name = Steve.
What I'm getting is:
Ticket price £10 - Attendee name = Steve with quantity of 2 in the cart @£20.
I have removed the quantity option from the product page. I have also removed it from the cart page. Still no luck. What I'm looking to do is have OC limit each ticket to the value of 1 each time. Each time another ticket is added it creates a new line in the cart for it and not double up on the original ticket.
I should be able to fix this but sadly I'm stuck. All help is appreciated.
OC 1.5.6.5. OC Bootstrap Pro theme. PHP 7.4