Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore F.A.Q.

Why Configure Every Product Separately When Used with NextGen Gallery

(74 posts) (9 voices)
  • Started 6 months ago by amin007
  • Latest reply from jonnylaris
  • Related Topics:
    1. XSS Attack caused by /wp-cart-for-digital-products/lib/jquery.cookie.js
    2. WP eStore and NextGen Gallery integration
    3. Embed mp3 preview in the fancy view or on nextgen gallery?
    4. Problems with Cart + NextGen Gallery
    5. NextGen Gallery drop downs

Tags:

  • NextGen Gallery Integration
« Previous123…8Next »
  1. jkudish
    Member

    right, i know that much. But how do i parse the picture's ID to the cart?

    Posted 4 months ago #
  2. amin007
    Key Master

    From the gallery template you can use the following to get the image id:

    $image->pid

    You can't add it to the cart since a product that can be added must be stored in the database (eStore pulls the product information from the database using the product ID). This is why I have to use the "Buy Now" button option which allows me to create a button on the fly without it having to be in the products database.

    Posted 4 months ago #
  3. jkudish
    Member

    So there is no way to transfer '$image->pid' as a hidden field of the product?

    Say I want to sell 100 pictures, each with the same pricing and variations. All I want is the cart to tell me which file name it was, so it would need to add '$image->pid' as a field which the seller can see post-transaction... Do you understand what I mean?

    Posted 4 months ago #
  4. amin007
    Key Master

    yeah you add the picture id ($image->pid) in the custom field and it will be available to you in the IPN handling script.

    In the "wp_eStore1.php" file check out the "append_values_to_custom_field" function.

    Posted 4 months ago #
  5. hberger
    Member

    Amin007,

    I have the same problem (am too selling prints). Could you please be a little more specific?
    Am I supposed to edit the mentioned function in "wp_eStore1.php" like this?

    $custom_field_val = append_values_to_custom_field($image->pid);

    Really appreciate your help.

    Posted 4 months ago #
  6. amin007
    Key Master

    Don't worry about doing any manual tweaks as I am adding this functionality to eStore (I should be able to complete this implementation soon so wait a day or two if you can).

    Posted 4 months ago #
  7. amin007
    Key Master

    Finished implementing the alternate NextGen gallery integration option. The integration instructions can be found here:

    http://www.tipsandtricks-hq.com/ecommerce/nextgen-gallery-alternate-integration-method-805

    Posted 4 months ago #
  8. hberger
    Member

    Woho! Nice, thanks so much.

    But I can not figure out how to update the plugin.. what am I missing?
    My download link has expired, do I have to buy it again?! (bought it last week)

    Posted 4 months ago #
  9. Ivy
    Administrator

    Hi, You can read more about how updates work here: http://www.tipsandtricks-hq.com/forum/topic/how-and-when-do-you-get-an-update

    I will send you an update via email. Please let me know if you do not receive this email.

    Cheers,
    Ivy

    Posted 4 months ago #
  10. darkmatter
    Member

    Awesome awesome!!! Thanks guys for working on this. I will give this a try as soon as I can get my hands on the update :)

    Posted 3 months ago #

RSS feed for this topic

« Previous123…8Next »

Reply »

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin