Answer the question
In order to leave comments, you need to log in
How to make a minishop2 product subcategory?
The bottom line is that there are tickets on sale and you need to make sure that there is an output to the basket when adding a child and an adult if a person is with a child. There is an idea to just add a child ticket as a new product, but this will have to be added to each product. Although I see only this option. Presumably it should be somehow with the choice of how many adults and children to count in the basket already. If you have any more reasonable ideas, please let me know. I only work with modx a little, I don’t quite understand it
Answer the question
In order to leave comments, you need to log in
Add the ability to specify the presence of children and their number to the order form, then write a plugin for msOnAddToCart that will check the presence of your field in the POST request and, if available, will add the same ticket again, but change the name and cost.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question