The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Woocommerce add extra data to order and cart (4 posts)

  1. Aklesh
    Posted 3 years ago #

    Hi all,

    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) ?

    Thanks in advance!

  2. Aklesh
    Posted 3 years ago #

    I resolved this issue myself. Thanks anyway ;)

  3. rodericks
    Posted 3 years ago #

    Could you post your solution please?

  4. Aklesh
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic