I have created a content-single-product page where the user is guided through 6 steps in choosing their custom product. I have created different actions for these steps. The first step is choosing a “main” product. The second step is choosing a fabric. I am using a simple nextgen gallery carousel to show all fabrics. When the user clicks on a thumb, I capture the pid of the image in a variable and a link to the next step appears. Now my question. How can I add this variable to the order (so show in checkout, cart and back-end order details) ?
I ended up by NOT using variable products, but simple products with their SKU as configuration. For example. SKU is 100299333, 100 is stands for product type A, 299 stands for option A for product A. 333 stands for option B for product A.
Actually, I let the user select different options. These options combined is a SKU. At the end I add the product by SKU to the cart.
The only con is that I have to add all product-option combinations to the product db. Plugin ‘Woocommerce product importer’ works like a charm for doing this.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Woocommerce add extra data to order and cart’ is closed to new replies.