WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Aklesh
    Member
    Posted 1 year 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
    Member
    Posted 12 months ago #

    I resolved this issue myself. Thanks anyway ;)

  3. rodericks
    Member
    Posted 11 months ago #

    Could you post your solution please?

  4. Aklesh
    Member
    Posted 7 months 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