[Resolved] Nextgen Gallery Error
After the add to cart button I’m getting some code saying
class="shutterset_singlepic2019". I have no idea where to go looking for this code to fix it. There’s obviously a mistake somewhere, but would this be in the WP_SPSC files, the Nextgen files, or my theme files?
Any help would be greatly appreciated.
Example of the error can be seen here: website.
That means you are using the NextGen gallery integration but you most likly forgot to upload the gallery template file to the correct location. Please review the nextgen gallery integration documentation again.
No I didn’t solve it exactly. I switched my template. I was using Photocrati. I’m using the Papercore now and don’t have the same problems with it, so it was most likely a Photocrati problem.
Thank you so much.
I will switch the theme and see if it works or not.
Yeah, I just realized the theme change didn’t help me either. The problem is when I insert a Nextgen image with the shopping cart into a blog post. Because the blog isn’t using the wp-eStore template the error occurs. I don’t know how to make the blog use that template, so the error persists. One work around is to insert the thumbnail into blog posts, not the single pic.
I’d still like to solve this problem though, as my singlepic is set up to be sized correctly for blog display. Thumbnails have to maintain a smaller size to work in galleries.
Did anyone solve this issue? I have the gallery-wp-estore.php in the view folder (as advised) but I get a similar error along with the image.
My image has the Add to Cart button but this code ” rel=”lightbox[set_1]” > shows up as a link to the information about the painting, but it pushes the image along and shows no information.
oops, I just refreshed the site again (I had done it before) and it fixed it. I guess it is resolved after all!
Sure it is because the original poster or the plugin author says it is.
Please create your own topic.
I am working on a site http://www.lifeinthelens.com and have installed nextgen with wp simple cart. The buy now buttons work great if you go directly to the gallery page but if you go to the nextgen album page, then click the thumb to the gallery, the “buy now” button shows up above the thumbnails and there is some raw code displayed “class=”shutterset_set_8″ >”
If you go to the site and hover over “Catalogue” and click the “Miscellaneous” link in the drop down, it goes directly to the Miscellaneous gallery page_id=227 which works great. But, if you click the word “Catalogue” (an album) on the main menu bar and load page_id=156 then scroll down on that page and click the Miscellanous gallery from within that page, the buy now button is out of whack.
I’m assuming it’s because technically it’s still using page_id=156&album=1&gallery=8 instead of loading the gallery page_id=227. How do I get this short code [nggallery id=8 template=wp-eStore] for the buy now buttons to work when gallery=8 is loaded from the album page_id=156 using these parameters in the url page_id=156&album=1&gallery=8 instead of loaging page_id=227?
Page_id=156 (the album) already has this short code … [album id=1 template=extend]
Can anyone help me with that?
In a nutshell, the buy now button in the album works fine if you go directly to the gallery page url but if you drill down through and album to get to the gallery page, the raw code shows around the buy now button.
I’ve stared at the “view source” for a long time and figured something out. In the link on the thumb nail to blow it up, it’s inserting all of the paypal “add to cart” code into the “title” tag, which explains why the code after the title tag is showing up as random code on the page … ALL of the code below is inside the title tag of the link to enlarge the thumb nail …
‘title=”<div class=”wp_cart_button_wrapper”><form method=”post” class=”wp-cart-button-form” action=”” style=”display:inline” onsubmit=”return ReadForm(this, true);”>Size : <select name=”variation1″ onchange=”ReadForm (this.form, false);”><option value=”small”>small</option><option value=”medium”>medium</option><option value=”large”>large</option></select>
<input type=”image” src=”http://www.lifeinthelens.com/wp-content/plugins/wordpress-simple-paypal-shopping-cart/images/buy_now_button.png” class=”wp_cart_button” alt=”Add to Cart”/><input type=”hidden” name=”product” value=”Rodeo Bucking Horse” /><input type=”hidden” name=”price” value=”15″ /><input type=”hidden” name=”product_tmp” value=”Rodeo Bucking Horse” /><input type=”hidden” name=”shipping” value=”var1[Size|small|medium|large]” /><input type=”hidden” name=”cartLink” value=”http://lifeinthelens.com/?page_id=156&album=1&gallery=8″ /><input type=”hidden” name=”addcart” value=”1″ /></form></div>”‘
Now I have to see if I can figure out why. It’s insterting the short code below inside the title tag …
[wp_cart:Rodeo Bucking Horse:price:15:var1[Size|
OK … I figured out a work around. Rather than letting the gallery 8 open inside the Album page (page_id_156) using this url, ‘http://www.lifeinthelens.com/?page_id=156&album=1&gallery=8’, you can force the Album to use the gallary page’s url, ‘http://www.lifeinthelens.com/?page_id=227’, when you click the link to Gallery 8 (Miscellaneous in my case), if you uncheck the Nextgen Gallery option “The album will not link to a gallery subpage. The gallery is shown on the same page.”
The sort code for simple paypal shopping cart works just fine at the second url above but does not work at the first url above. Now I can sleep.
- The topic ‘[Resolved] Nextgen Gallery Error’ is closed to new replies.