Forum Replies Created

Viewing 6 replies - 106 through 111 (of 111 total)
  • Thread Starter jimlongo

    (@jimlongo)

    Yes that’s what I was thinking – add it to wp_post meta.
    My question is how to go about that. I’m not that familiar with WP, do I need to create an action? And I can’t see any examples of how to insert data into the database.

    i was looking at the woocommerce_order_status_completed hook, I’m not sure how best to proceed.

    Thread Starter jimlongo

    (@jimlongo)

    The products aren’t ever entered into my system. There’s no process for that.

    I use the identifier to grab the image from the CDN to display on the product page. But there is only 1 product page.

    Thread Starter jimlongo

    (@jimlongo)

    Yes but there is only 1 product for sale right now. A printed photo (otherwise there would be 10 of 1000’s of products and growing by the minute).

    What is unique is that your photo is different from mine.

    So if you buy the product, I need to know the variable that identifies it as your photo.

    BTW, thanks for your patience in trying to help.

    Thread Starter jimlongo

    (@jimlongo)

    Of course they wouldn’t. But I need to be able to identify which picture they purchased. Right now all I know is that Joe Brown, address, etc., bought a photo. Which one did he buy?

    Thread Starter jimlongo

    (@jimlongo)

    To identify which photo belongs to their order. The only identifier is the session variable I’ve captured. Otherwise it could be any of 1000’s of photos they just purchased.

    Thread Starter jimlongo

    (@jimlongo)

    Thanks,

    Each product is unique to that client.

    Let’s say it’s a photo of them. They are given a Number at the time it’s taken which they enter into a form on the website.

    I capture the number into a variable from a form, and they can now see it on the website and buy it. (the number is parsed and let’s us get the photo from a CDN to display on the website)

    After they buy it I need to identify which photo they purchased. Hence the need to capture the session variable into the database for further use in the order emails and admin order details, etc.,

Viewing 6 replies - 106 through 111 (of 111 total)