Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

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

Why Configure Every Product Separately When Used with NextGen Gallery

(99 posts) (14 voices)
  • Started 1 year ago by amin007
  • Latest reply from admin
  • Related Topics:
    1. Users not being sent login details
    2. Buy now button NOT work
    3. Customer being sent to PayPal despite having PP option turned off
    4. Subscription PayPal Error
    5. How to make the plugin mark the order as a service on paypal

Tags:

  • NextGen Gallery Integration
  • PayPal
  • wp-eStore-auto-addtocart
« Previous1234…10Next »
  1. Ivy
    Administrator

    Hi, I sent you an email regarding the update. If you need anything else please let me know.

    Cheers,
    Ivy

    Posted 1 year ago #
  2. darkmatter
    Member

    Thanks again Ivy!

    I implemented the template and I have a couple of questions:

    - How can I change the "Buy Now" button into an "Add To Cart" button instead so that products are added to the cart.
    - How can I add the variations drop down menu to each picture as well?

    Vince

    Posted 1 year ago #
  3. amin007
    Key Master

    Hi Vince, you cannot use "Add to Cart" type buttons for this integration method. To use an "Add to Cart" button you need to have the products configured in the eStore. This integration method uses one product as a template and cannot be added to the shopping cart.

    Posted 1 year ago #
  4. darkmatter
    Member

    @amin007 That's really too bad... The integration would be complete imo if the name of the picture could simply port to the cart.

    I was looking at this piece of code in eStore_button_display_helper.php lines 132-140 and thought maybe there would be a way to inject the picture instance name in this Customer Input Field (value="[code]") with code, then hide the field:

    ' if($ret_product->custom_input == '1')
    {
    if(!empty($ret_product->custom_input_label))
    $var_output .= $ret_product->custom_input_label.': <input type="text" name="custom_input" value="" class="eStore_text_input" />';
    else
    $var_output .= 'Instructions: <input type="text" name="custom_input" value="" class="eStore_text_input" />';
    if ($line_break) $var_output .= '
    ';
    else $var_output .= ' ';
    }'

    Is this possible? Right now I have the customer inputing the name of the picture manually, selecting a variation (i.e. 8x10, 5x7, wallet size pics) then Add To Cart. All that's really missing is being able to carry over the name of the picture.

    Thanks.

    Vince

    Posted 1 year ago #
  5. amin007
    Key Master

    porting the name to the cart is no problem at all. The problem is that when a shopping cart operation (eg. item deletion, quantity change, checkout etc) is performed it uses the Product ID to uniquely identify each product and perform the operation.

    This integration method uses one product as a template which is okay for "Buy Now" buttons but it can't reference to a product uniquely which is needed for a cart functionality.

    Posted 1 year ago #
  6. darkmatter
    Member

    Here's what I'm currently doing: http://camelarae.com/galleries/i9-sports-galleries/i9-sports-flag-winter2010/i9-2010-colts

    It's 1 product repeated for every picture by pasting the code for the product under each pic. The only differentiator is the customer input. So, what I was hoping to accomplish was to auto-populate the picture's name in the box and hide the field upon the page loading. This way the buyer only has to select a variation and click add to cart...

    Posted 1 year ago #
  7. amin007
    Key Master

    Getting a "Internal Server Error" when I go to that URL. Maybe your site is down temporarily.. I will check back later.

    Posted 1 year ago #
  8. darkmatter
    Member

    Should be working now... albeit a little slow.

    Posted 1 year ago #
  9. amin007
    Key Master

    The only way you can get the image name is if you made your custom template file for the gallery (kind of like what I did for the "Buy Now" buttons) and then pass the image reference across when you call the function that displays the add to cart button.

    Posted 1 year ago #
  10. darkmatter
    Member

    That's what I thought you guys were going to do when all of this started haha! With my very limited knowledge I won't be able to really make that happen. If there's anyone reading this that can offer direction please do! Where I'm starting is in the NGG Gallery template you've got '<?php echo print_eStore_ngg_buy_now($image); ?>' which I assume is calling the necessary code to display the 'buy now' button. Where do I find it in your plugin code?

    Thanks!!

    Posted 1 year ago #

RSS feed for this topic

« Previous1234…10Next »

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