I want to send orders from Google Sheets to Prestashop.
Here are my modules:
- Google Sheet
- Create customer
- Create address
- Create cart
- Create order
In the “Create order” module, I need to provide:
- Product ID
- Attribute ID (variant)
- Quantity
In my Google Sheet, I have columns for Product ID, Attribute ID, and Quantity.
For a single product, the order works perfectly.
BUT, if I have multiple products, my IDs and quantities are separated by commas, and it no longer works.
How can I make the “Create cart” module correctly handle multiple products?
Thanks in advance for your help!