WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Simple Paypal Shopping Cart
[resolved] Nextgen Gallery Error (14 posts)

  1. uncommondepth
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/wordpress-simple-paypal-shopping-cart/

    [No bumping. If it's that urgent, consider hiring someone.]

  2. mra13
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. Lazlo369
    Member
    Posted 1 year ago #

    Did you figure out how to solve it ?

  4. uncommondepth
    Member
    Posted 1 year ago #

    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.

  5. Lazlo369
    Member
    Posted 1 year ago #

    Thank you so much.
    I will switch the theme and see if it works or not.

  6. Lazlo369
    Member
    Posted 1 year ago #

    No, still didn't work

  7. uncommondepth
    Member
    Posted 1 year ago #

    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.

  8. germars
    Member
    Posted 9 months ago #

    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.

  9. germars
    Member
    Posted 9 months ago #

    this says it is resolved, but isn't really. thanks!

  10. germars
    Member
    Posted 9 months ago #

    oops, I just refreshed the site again (I had done it before) and it fixed it. I guess it is resolved after all!

  11. Sure it is because the original poster or the plugin author says it is.

    Please create your own topic.

    http://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart#postform

  12. sheff
    Member
    Posted 8 months ago #

    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.

    Sheff

  13. sheff
    Member
    Posted 8 months ago #

    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|
    small|medium|large]:end]

    Sheff

  14. sheff
    Member
    Posted 8 months ago #

    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.

    Sheff

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic