Generation of node for product quantity
Hi, we have commerce install and would like to add the ability to print ticket we sell. We have a product type call "Event" and user can buy multiple Event of the same Event and also from different Event. This part work great.
Now I have a node who is supposed to be the ticket. It have a QR Code in it and we are combining this with flag to do a validation at the door with the people who can validate the ticket.
I would like know if it is possible to trigger a rule after the payment is done and create a number of node corresponding of the number bought by the user ? I would like to know how i can do that if it is possible ? I tought at first to go with VBO but i'm stuck in rules to loop on the quantity of the products...i don't know how or where to get it from my view. I manage to create a views with the ID of the order and then inside the views a create the list for Event sell. There a got the Event and the quantity but cannot loop with the quantity in rules ?
Any help please !? Thanks in adavance...