Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › Why Configure Every Product Separately When Used with NextGen Gallery
- This topic has 102 replies, 15 voices, and was last updated 11 years, 1 month ago by
ssaf.
-
AuthorPosts
-
April 25, 2010 at 12:16 pm #18553
amin007
ParticipantDon’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).
April 26, 2010 at 2:58 am #18554amin007
ParticipantFinished 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
April 26, 2010 at 7:07 pm #18555hberger
MemberWoho! 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)
April 26, 2010 at 11:10 pm #18556Ivy
MemberHi, You can read more about how updates work here: https://support.tipsandtricks-hq.com/forums/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
May 25, 2010 at 4:48 pm #18557darkmatter
MemberAwesome awesome!!! Thanks guys for working on this. I will give this a try as soon as I can get my hands on the update
May 26, 2010 at 12:50 am #18558Ivy
MemberHi, I sent you an email regarding the update. If you need anything else please let me know.
Cheers,
Ivy
May 26, 2010 at 3:43 pm #18559darkmatter
MemberThanks 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
May 27, 2010 at 12:39 am #18560amin007
ParticipantHi 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.
May 27, 2010 at 3:31 pm #18561darkmatter
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=””) 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. 8×10, 5×7, 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
[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. 8×10, 5×7, 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
May 28, 2010 at 1:35 am #18562amin007
Participantporting 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.
May 28, 2010 at 3:21 am #18563darkmatter
MemberHere’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…
May 28, 2010 at 6:49 am #18564amin007
ParticipantGetting a “Internal Server Error” when I go to that URL. Maybe your site is down temporarily.. I will check back later.
May 28, 2010 at 3:08 pm #18565darkmatter
MemberShould be working now… albeit a little slow.
May 29, 2010 at 1:04 am #18566amin007
ParticipantThe 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.
May 29, 2010 at 4:56 pm #18567darkmatter
MemberThat’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!!
-
AuthorPosts
- You must be logged in to reply to this topic.