• Hi all – I’m wondering if it’s possible to assign a few variables from some WP info, and pass it to an ecommerce product page.

    Here’s the setup – the WP install i’m working on is designed as a photoblog+shop to order prints.

    each post is an individual image. there is only one product in the store: “image from gallery”, which has a handful of different variations (size, finish, etc).

    I’d like to add some code to index.php and single.php that allows users to click on an “add to cart” link when they’re viewing a post/image that would take them to the product page where they could elect those variations. Ideally, i could get WP-ecommerce to pull the post title/id from the blog post and add that to a custom field (or…?) in ecommerce to identify which print they wanted.

    I’m a total php neophyte – I’m pretty sure this can be done, and am digging around for clues, but any help from this community would be great!

    (also asking at https://www.instinct.co.nz/forums/topic.php?id=4572)

  • The topic ‘[Plugin: WP e-Commerce] pass variables from WP post to ecommerce product page?’ is closed to new replies.