Home » Wordpress paypal

WordPress Shop Demo Using NextGen Gallery and WP Shopping Cart

28 March 2009

This is a demo page showing how the WordPress Paypal shopping cart plugin is used in conjunction with the NextGen Gallery to create an online store for digital photos. Hit the ‘Add to Cart’ button to see how the shopping cart looks on the sidebar.

When you add an item to the cart the shopping cart will be shown below this line.

Please note that the secure delivery of the digital images after purchase is only available in the WordPress eStore Plugin and to know how to do this please watch the video tutorial on How to Turn Your WordPress Site into a Digital Photo Store and Sell Photos Securely

How to Integrate NextGen Gallery and WordPress Paypal Shopping Cart Plugins

What Plugins do you need?

You will need the WordPress Paypal shopping cart v1.6 or above and NextGen Gallary Plugins. This guide assumes that you have used NextGen Gallery Plugin and know how to use it. If you don’t know how to use NextGen Gallery then I suggest you read the ‘Readme.txt’ file that comes with the NexGen Gallery plugin or try the NextGen Gallery forum

What NextGen Gallery Modification is needed?

We are going to use a custom template file for the NextGen gallery to display the shop:

  1. Download the WP eStore template file for NextGen Gallery from here.
  2. Unzip and upload the ‘gallery-wp-eStore.php’ file to the ‘view’ folder of the NextGen gallery plugin directory (nextgen-gallery/view/gallery-wp-eStore.php).

Displaying the Gallery

Use the following tag to display the Gallery in a post or page.

nextgen-gallery-template-tag

Given the gallery id is 1. Using the ‘template=wp-eStore’ option will show captions underneath each thumbnail image where you can display the ‘Add to Cart’ button and a little bit of other details/description of the image.

Adding the ‘Add to Cart’ Buttons below the Image Thumbnails

1. Go to ‘Manage Gallery’ from the NextGen Gallery settings menu and choose the Gallery that you want to turn into a shop. 2. Now in the ‘Alt & Title Text / Description’ field of every image enter the Image details (name, price etc) and the trigger text for the ‘Add to Cart’ button of that image. It should look similar to the following example:

nextgen_wp_paypal_cart_integration_desc_field

“<br />” is a HTML code to insert a line break so the name, price and the button doesn’t come in one line.

3. Do the same for all the images in the gallery.

4. Save the Changes to the Gallery and Now your Gallery will look similar to the demo shown at the start of this Page.

What Happens When You Upgrade the NextGen Gallery Plugin?

After you upgrade the NextGen Gallery, you need to put the WP eStore Template file back in the ‘view’ directory (nextgen-gallery/view) and all done.

This is because, when upgrading, WordPress completely deletes the folder of the plugin that is being upgraded then downloads the new version. So the previously uploaded WP eStore template file gets deleted in the process.

Visit the WordPress Shopping Cart plugin page to download the plugin or to leave comment.

You can also visit the post on How to Turn Your WordPress Site into a Digital Photo Store and Sell Photos Securely for more information.

Related posts

95 Comments »

  • www.produsedigitale.net said:

    is very simple to us…interstering

  • Anonymous said:

    Thank you an interesting theme

  • Arteccentrix said:

    This is an excellent tutorial using two great plugins thank you.

    I have one issue and that is this – the two work together very well but is there any way to prevent the wp-cart code from showing when viewing images in the gallery? You can see what I mean by viewing any image in the gallery in my sidebar.

    Thanks.

  • Kevin said:

    I AM trying to add the code to image in the gallery Alt & Title Text for some reason cant work right now its acting as a pop view page when I click the buy now button on selected destination page what em I doing wrong thanks kevin

  • newdeveloper said:

    thanks so much it is a very useful and simple demo :)

  • Jenny said:

    I have added the WP simple paypal cart to my website integrated with Nextgen Gallery and the Add to Cart Button is transparent – no colour. Is there a way to change this to a colour.

    Thanks

    Jenny

  • nycbone said:

    Viewable here http://arcane-arts.com/shop/buy-direct_wp-shopping/

    I have integrated WP Simple shopping cart with NextGen. When on that page, I “add to cart”… seems to work fine.

    ISSUES
    1) Sidebar widget has a double title when there is a product in the cart
    2) When I go to another page, the widget resets with nothing in the cart.

    Have I missed some documentation? Any suggestions would be helpful. Thanks for all your work!
    Look forward to getting the kinks figured out.
    db

  • Dan said:

    Hi,
    We’re big fans of your terrific plugin.
    We’re trying to use variations for size-we’re selling t-shirts.
    We’re using the WP Simple PayPal version 2 with NexGen plugin and e-store template.
    I can’t get the drop down’s to appear.
    Below is the trigger code we used.

    [wp_cart:Caique on a Branch T-shirt:price:18:var1[Size|Small|Medium|Large]:end]
    Can you help?

  • Steve C said:

    It looks like the latest version of NextGen Gallery (1.3.5) broke the WP eStore template file. Any thoughts on what might be causing the error?

  • admin said:

    @Dan, Please use the latest version (v2.3). Variation control was introduced in version 2.2.

  • admin said:

    @nycbone, You can make the “Shopping Cart Title” field empty so the title doesn’t show. Regarding the shopping cart reset… it seems to be a PHP session issue.

  • admin said:

    @Steve C, The template file is not broken. You need to upload the template file in the “view” directory after you upgrade the NextGen Gallery plugin as wordpress deletes all the files of the current installation during the upgrade.

  • Voltage said:

    Hi,
    This looks like a great plug-in, at least from the examples I’ve seen. Unfortunately I cannot get it to work. Initially I thought it was because of the theme but now I’ve changed at least 10 themes and even re-installed the whole WP. Any ideas on how to figure out what is wrong if nothing is working at all? I’m using the latest versions of Nextgen, Shopping Cart and WP. Maybe I need to downgrade from 2.8.4?

  • Voltage said:

    Ok, I downgraded to 2.7. Tried another bunch of themes. Not working. Nothing gets added to the shopping cart. Please help!

  • admin said:

    @Voltage, You shouldn’t need to change the theme or change the wordpress version for this to work. Can you please explain what part is not working? “I cannot get this to work” doesn’t tell me much.

  • reid said:

    i was running the nextgen gallery and e-store for a while now and every thing was good..i just did the posted upgrade of the nextgen gallery now my images of items for sale is not showing.

    Instead this message appears:

    Rendering of template gallery-wp-eStore.php failed

    help please!

  • reid said:

    never mind i was able to fix it! upon upgrading the nextgen gallery i lost the WP estore template file just had to re-load it.

  • beni said:

    Hi,very nice plug ,i’m using it with next gen gallery ,and i folow thexact steps to install and i can’t get the button under the image in gallery …please ,any help? http://radha.ro/shop-radha/

  • beni said:

    NextGEN Gallery 1.3.3 with wordpres 7.1

  • beni said:

    there is my code in descripsion of images in the next-gen …
    http://radha.ro/wp-content/uploads/2009/09/help.jpg

  • Coolpix said:

    I’ve had the same problem “reid” had, and I figured out quickly that the eStore template for NextGen Gallery was missing, and reinstalled it. The problem now is that I see the gallery with the code I inserted for the description and the “add to cart” button, but everything shows including the code that is supposed to make the button to show, except the add to cart button. I tried everything: Downgraded to NextGen Gallery 1.3.5, (last working version), reinstalled WP Simple PayPal Shopping Cart, but nothing seems to work. Now my online store is broken. The plug-in works, because when I create items without NextGen Gallery, they show the button normally. Take a look: http://www.dreamsensescandles.com/store/?page_id=695. Any help is appreciated.

  • Donna said:

    I’ve just set up a test site, installed WP 2.8.4, installed the latest NextGen 1.3.6, installed the latest WP Shopping Cart 2.3 and the latest version of the template file from the link on this page. I’ve followed the instructions listed here to add the shopping cart code below the images, but it’s coming out above the image and breaking the NextGen code.

    The “Add to cart” button appears above the image followed by the code:
    ” class=”thickbox” rel=”farm-animals” >
    //end of code. The quotes are intact exactly as I’ve included them here.

    NextGen gallery was working fine before I activated the WP Shopping Cart plugin and added the template file. This is on my local development server, so sorry I don’t have a link to send to you by way of example.

  • admin (author) said:

    @Beni, Just had a quick look and it looks like you have a spelling mistake in the trigger text. You are using “up_cart” in the tag where it should be “wp_cart”

  • admin (author) said:

    @Coolpix, I am pretty sure it’s conflicting with some other plugin. I have heard this problem once but can’t remember the exact name of the plugin that was causing this.

  • admin (author) said:

    @Donna, Did you upload the template file to the “view” directory of the nextgen-gallery plugin and use this template file to display the gallery eg. [nggallery id=1 template=wp-eStore]

  • beni said:

    Hi ,Thanks for help ,but its just don’t work .i correct the spelling in trigger text ,and nothing …There is no button with “add to cart” please help :( (

    Please take a look to my trigger text again ….

    http://radha.ro/wp-content/uploads/2009/09/help2.jpg

    Again i’m using wordpress 7.1 with NextGen 1.3.3 , i copy template to “view” directory of the next gen ,it see it ,and use it ,but no botton …. :( ( help again please…

  • Donna said:

    Yes that’s exactly what I did. Then in the NextGen gallery I put the following in the description field for 2 of the photos:

    Maya
    Price: $100
    [wp_cart:Maya:price:100:end]

    The button does appear, but as I posted above it breaks the NextGen code somehow so that part of the code also appears.

  • Donna said:

    Sorry, I submitted the previous comment then remembered this… although the Add to Cart button appears, it does not work either. Clicking the button goes to the full size image, not to the cart.

  • Coolpix said:

    @ADMIN, The problem is that the setup I have was working before the last update. Everything was working fine, I did not add anything to the site, no plug-ins, nothing else different from what was there before, but when I updated to the latest NextGen and the latest Shopping Cart, it broke almost everything, so I don’t think it’s conflicting with any other plugins.

  • admin (author) said:

    @Coolpix, You need to put the eStore template file back in the view directory of the NextGen gallery plugin. Please read the “What Happens When You Upgrade the NextGen Gallery Plugin” section in the post.

  • beni said:

    beni said:
    Hi ,Thanks for help ,but its just don’t work .i correct the spelling in trigger text ,and nothing …There is no button with “add to cart” please help (

    Please take a look to my trigger text again ….

    http://radha.ro/wp-content/uploads/2009/09/help2.jpg

    Again i’m using wordpress 7.1 with NextGen 1.3.3 , i copy template to “view” directory of the next gen ,it see it ,and use it ,but no botton …. ( help again please…

  • Donna said:

    @admin any ideas what is causing the problem I’m experiencing with NextGen and the Simple WP Shopping Cart?

  • Coolpix said:

    @Admin, that was the first thing I did. If you read my first post, you’ll see that I actually mentioned that the template file had to be reinstalled. If you take a look a my site, you see that what’s going on is something different, that I haven’t seen anyone reporting yet. What really bogs my mind is that everything worked fine before. Do I need to have a certain Worpress Version in order to make the new version of the WP shopping cart to work properly with NextGen? I created the website with WordPress 2.7.1, Atauhalpa template (older version, available the the WP templates/plugins site), NextGen 1.3.3 and WP Shopping Cart 2.2, and everything was fine. I updated to NextGen 1.3.6 and Shopping Cart 2.3, and it got broken, even after reinstalling the WP template on the View folder under NextGen folder on the server. I wonder if the problem is on the database, but I did not even went there yet to take a look, because I do not know what to remove, and I am afraid I can brake down the site completely. Here’s a page that have the items broken: http://www.dreamsensescandles.com/store/?page_id=456

  • How To Use NextGEN Gallery Plugin On Your WordPress Ecommerce Site And Get More Out Of It | WordPress eCommerce said:

    [...] WordPress Shop Demo Using NextGen Gallery and WP Shopping Cart [...]

  • troy said:

    I have a suggestion for above problem – make sure that the file name gallery-wp-eStore.php is spelelled correctly including “-” and “_” signs. Make sure not to forget to add correct template text in your gallery page [nggallery id=67 template=wp-eStore] and pay attention to letter capitalization (there should be “S” not “s”).

  • On the Curve said:

    Im new & trying to work this kick ass plug-in but like others the triggers arent working. All is up to date * instructions gave been followed. Ive read all the comments & replies on here too. Any new progress made on solving this issue?

  • On the Curve said:

    Problem solved! Awesome option for making a blog a store! Thanks A Mill!

  • gear.benjacobsenphoto.com » To Do List: said:

    [...] ecommerce [...]

  • daren said:

    hi, plugin is pure awesomeness.

    question, is it possible to specify a price for each variation and that would reflect perfectly in the cart?

  • anita harris said:

    Hi
    I notice the nextgen gallery at the top of this very page is NOT being displayed correctly , this SAME error happended to me too, and I RESOLVED this BY :
    1) specifying [nggallery id=n template=wp-eStore] on the page or post AND
    2) ensuring the wp-eStore.php template file is copied to the correct plugins folder for nextgen.. ie plugins/nextgen-gallery/view

    Hope this helps

  • Chris said:

    I am not sure what is causing my issue but I have exhausted all possibilities at this point and maybe you guys can help. Basically I am starting up a new online store and I have followed the install instructions here to a t. The Problem is when I click on the thumbnail, the thickbox load bar comes up, then just stays there. The image never loads. It also only does this in internet explorer. It does this on different versions of explorer and has the problem on any computer I bring up the store with in ie. All the other effects in nextgen to the same thing. I have even installed shadowbox independently of nextgen and it has the same problem. It seems none of these type of javascripts want to open all the way from my site in ie. They work great on other people’s sites and even in the admin area. Any suggestions would be greatly appreciated.

  • Sapna said:

    Hi,
    I downloaded the NEXT Gen and the Paypal plugins into my WP site and I tried to do exactly what is mentioned in this link … but when I add the code [wp_cart:photo1:10:end] and check the page.. I see the same code reflected instead of the addtocart button.. can you please tell me where I am going wrong.. I have uploaded the template file too…

    Awaiting for your help,
    Sapna

  • etiqi said:

    Hello!

    great, but something does not work in my website.

    When I type in description, doesn’t appears a line brake in the web, for example:

    aaaa eeee

    should appears

    aaaa
    eeee

    but appers like this:

    aaaa eeee

    What I have to do?

    I am using wordpress 2.9 and nextgen 1.4.3

    thanks!

  • Peter Armenti said:

    can you use table rate pricing and is it possible to have a quantity field before clicking add to cart?

  • Jackie said:

    Any way to have the ADD TO CART button go to a page where user can insert options like if they want a Print, Painting or Gift Card and what size they want of the one they choose? Also, each one has a different cost.

  • Jot said:

    Everything works for me except tha add to cart button appears to adjust to different sizes with each product I post. The shopping cart icons also increase in size to look distorted. Is there a place where I can correct this.

  • Choubacca said:

    Hey,

    I’m getting this error message. rendering of template gallery-wp-store.php failed.

    Any ideas on what I can do to fix it? thanks! :)

  • Choubacca said:

    AH! nevermind! I figured it out! I swear, it was because i had to rename the insert gallery code with an “S” instead of an “s”… GRRRRR coding!!!

  • barry said:

    almost there, gallery looks good…but when i click on the “add to cart” button, nothing happens…what am I missing here???

    Thanks in advance!

  • Greensnapper said:

    Should this plugin work with Next Gen smooth gallery? I get the message rendering of template gallery-wp-store.php failed.

  • janet said:

    can i know where is the ‘view’ folder of the NextGen gallery plugin directory? i am new to wordpress.
    please reply asap, thxs !

  • janet said:

    i upload the WP estore template file to plugin there then it
    appear Unpacking the package.

    Installing the plugin.

    Destination folder already exists. /home/cindyeve/public_html/wp-content/plugins/gallery-wp-eStore/

    Plugin Install Failed.

    how to i delete this file that i error uploaded?

  • Jay said:

    Anybody know how to add items for sale from an access stock database.

    Thanks

    Jay

  • To Do List: | gear.benjacobsenphoto.com said:

    [...] ecommerce work with [...]

  • Colm Doyle said:

    Hi I am having problems with using NextGen Gallery and the WP Shopping Cart plug in, I get the error “Rendering of template gallery-wp-estore.php failed” you can view my shop page here: http://hypehypehype.com.au/?page_id=3 I have checked I have all the latest versions of the plug-in’s any help would be great.

    Thanks
    Colm

  • Colm Doyle said:

    edit: I found my problem was the same as ” Choubacca ”

    “it was because i had to rename the insert gallery code with an “S” instead of an “s”… GRRRRR coding!!!”

    thanks for your helpful plug in

    Colm

  • Ricky Stafford said:

    Not working for me…

    Latest WordPress, Nexgen, and Simple Shopping Cart.

    My website is clickable via my name if anyone can help.

    The add to car button is not even showing up.

  • Ovidiu said:

    same problem here: Rendering of template imagebrowser-wp-eStore.php failed why is it looking for a file called imagebrowser-wp-eStore.php?

    the only file I was told to copy there was gallery-wp-eStore.php and the spellign is right…

  • D said:

    @sapna

    i had the same problem, change the code in the template.

    from

    caption ?>

    to

    caption); ?>

  • admin (author) said:

    I’m not sure. you can give it a try

  • admin (author) said:

    @janet: The ‘view’ folder should be at your site URL/wp-content/plugins/nextgen-gallery/

  • admin (author) said:

    @janet: deactivate and delete the plugin.Once you have done that, just upload and install it again. let me know how it goes.

  • admin (author) said:

    @Colm Doyle: welcome

  • admin (author) said:

    @Ricky: If you update the “nextgen gallery” plugin, make sure that you upload the WP eStore template file(gallery-wp-eStore.php) again to the ‘view’ directory of ‘Nextgen gallery’ plugin.

    Cheers

    Noor

  • arlene said:

    Hi I have been using the latest version of WP and this plugin, I have the eStore template in the ‘view’ folder and I am still getting the code instead of the button on the thumbnail gallery page (http://art.interfaceiq.com/illustrations/) and when selected the detailed page shows this error: “Rendering of template imagebrowser-wp-eStore.php failed” error message (http://art.interfaceiq.com/illustrations/?pid=159).

    I have tried the solution posted by ‘D’ in amending the ‘caption’ ? to ‘caption); ?’ in the eStore template, but that does not work for me.

    PLEASE can someone help?

  • arlene said:

    HI Again, I found a way around this by disabling the ‘Imageflow’ plugin I had and by going to the nextGEN ‘Gallery > OPtions’ menu item then selecting the’Gallery’ tab. Once there deselect the ‘Show ImageBrowser’ option.

    I think the trouble i was having was in expecting a detail product page when the system is not setup t p work that way. You get the thumbnail image then clicking will simply allow you a larger version image, not a separate page with more product details. I would have liked a detailed product page though, if it were possible :)

  • admin (author) said:

    Hi arlene, I just visited this URL (http://art.interfaceiq.com/illustrations/). Your gallery looks fine. Did you type the following code correctly on your photo product page?


    [nggallery id=(your gallery ID) template=wp-eStore]

    Make sure that while typing 'wp-eStore' in the above code you put 'S' in Block letter.

    Let me know how it goes.

    Cheers

    Noor

  • Paul Halagan said:

    Is there a way th=o have size and color categories

  • Paul Halagan said:

    Sorry, I didn’t word that properly I have a Nextgen gallery of art prints, three sizes, framed and unframed so each piece has 6 prices. Is there a way to do this with this plug in. I’ve been having problems using paypal to get this to work without a paypal plug in. I keep getting an error on paypal.

    Thanks in advance for any help.

  • admin (author) said:

    Hi Paul, you might find the following post helpful for this-

    http://www.tipsandtricks-hq.com/ecommerce/simple-wp-shopping-cart-installation-usage-290

  • Eric said:

    Hi. I installed the Simple WP Shopping Cart plug-in. I followed the instructions very closely to integrate it with my NextGen gallery. I have uploaded the template to view folder correctly. I’ve entered the correct code to my gallery page, [nggallery id=1 template=wp-eStore] but for whatever reason the price and add to cart button appear to the right of my thumbnails and not below. My test page is here for reference:

    http://www.epicimagesonline.com/store/

    I’m pretty sure I’ve left nothing out. I’ve double and triple checked my work against the instructions. Do you know what could be causing this?

  • Melissa said:

    Hi -
    Sorry, this might be right in front of my eyes, but I can’t seem to find it and I’m fried!

    I finally got everything to work – except the Add to Cart button – when pressed it doesn’t do anything :o (

    Thanks for any help/advice – this is a GREAT program.

    http://rockwithus.biz/?page_id=16

  • Eric said:

    Please disregard the above post. I found the solution from my template provider, Photocrati. For anyone else to whom this may apply, the following code inserted into your custom css fixes the issue I had (my thumbnails were lining up diagonally with the price and “add to cart” displayed to the right of each thumbnail):

    .ngg-gallery-thumbnail-box {
    float: left;
    width: 150px;
    height: 210px;
    }

    .ngg-gallery-thumbnail-box span {
    display: block;
    clear: both;
    text-align: left;
    }

    -ep

  • Tiff said:

    Is there a way to add a description to the lightbox popup? I mean we already used up the description input area for the price/add to cart button.

  • cbeckley said:

    Getting same issue as Sapna and did not see a posted response:
    “I downloaded the NEXT Gen and the Paypal plugins into my WP site and I tried to do exactly what is mentioned in this link … but when I add the code [wp_cart:photo1:10:end] and check the page.. I see the same code reflected instead of the addtocart button.. can you please tell me where I am going wrong.. I have uploaded the template file too…”

    Any help would be appreciated.

  • admin (author) said:

    Hi cbeckley,
    I think you did a mistake while typing the shortcode.
    According to your product “photo1″, It should be-

    [wp_cart:photo1:price:10:end]

    You didn’t include the word “price” in it. That could cause problem. Let me know how it goes.

  • Bizz said:

    Guys I have a question whose answer has been difficult to find.

    How does the plugin establish the link between the eSite and the bank account?. That is, once paypal receives payment, they have to give me a credit for that amount. How do they knpow they have to give that money to me and not to somebody else? Where do I tell them that?

    May be it sounds simple, but I have not been able to find the answer.

  • Trude said:

    Hi,
    I have been through all the info on these forums, and cannot see what I have done incorrectly to prevent my Add to Cart buttons from showing
    http://www.fizzymilkjelly.com/shop-notepads/
    Please can you advise how I can resolve this
    Thanks
    Trude

  • admin (author) said:

    @Trude: we will handle this via email.

  • jeffrey said:

    Hi,

    I also have a question on how to integrate the wp estore in Nextgen. I did all the above but I get an error.

    I’ve changed the alt & title text of 3 images
    (ex AfricanMaleLion
    Price: €90
    [wp_cart:AfricanMaleLion:price:90:end])

    the result is: http://jeffreyvandaele.com/lifestream/?page_id=3865
    The cart-button shows up but with coded text, when an image or the add to cart image is clicked, only the image is shown (while other are shown in lightbox)

    I’ve you can help me, you would do me a great favor. Been looking for ages to sell prints online.

    Thx!!

  • admin (author) said:

    Hi jeffrey, Your gallery looks pretty messy to me. Did you see that? nextgen gallery is not suppossed to show on a post or page like this. I think your theme is having issue with this. But I’m not sure if it is doing the same thing with “Add to Cart” button” if you have followed all the steps correctly.

  • Katia said:

    Hi I am having problems with the add to cart button and nextgen. Please let me know what I am doing wrong. the buttons are not showing :S

    here is the page: http://www.gandharadesigns.com/cart

    I put this in the img description but is not working
    [wp_eStore:product_id:1:end]

    and this is what I have on the page

    [nggallery id=6 template=wp-eStore]

    [wp_cart:Test2 Product:price:15.00:end]

    [show_wp_shopping_cart]

    please help
    Thank you very much

  • admin (author) said:

    Hi Katia, Are you using WP eStore plugin? If not then Don’t use the shortcode [wp_eStore:product_id:1:end] in the image description as it is for WP eStore plugin.
    Just use the other shortcode in the image description,

    [wp_cart:Test2 Product:price:15.00:end]

    And in the post or page (where you want to show the gallery) the following two shortcodes are fine.

    [nggallery id=6 template=wp-eStore]

    [show_wp_shopping_cart]

    You don’t need to put any other shortcode here.

  • Jess said:

    Thanks to Troy for pointing out the obvious, using a capital S for
    [nggallery id=1 template=wp-eStore].
    We all miss out the obvious sometimes :-)

  • Lynn said:

    This is great stuff but there is no place in the WordPress Paypal shopping cart plugin to integrate with a PayPal account. I got the NextGen gallery to show the product info and Add to Cart button, but there is no way to hook everything up with an actual PayPal account. That is, the front end works, but the backend does not. When I display the shopping cart, there is no PayPal button. And in the settings page for WP Simple Paypal Shopping cart there is no place to enter PayPal account info.

    I am using WP 3.0
    WP Simple Paypal Shopping cart plugin Version v2.8.1
    NextGEN Gallery plugin Version 1.5.5

    Your link for “WordPress Paypal shopping cart plugin” takes me to a plugin named WP Simple Paypal Shopping cart, which is what I installed. Maybe that is the problem? Does “Simple” mean that something else is required (another plugin?) to actually hookup with PayPal?

    This is for a client and the site is not yet live and is password-protected or I’d give you the URL.

  • Lynn said:

    Re: my previous comment (# 27 June 2010 at 7:25 pm )
    Okay, I have found it. The hook to PayPal is simply your PayPal account email address, and that is the first field in the page at Settings > WP Shopping Cart. The filed is labeled “Paypal Email Address”.

    I missed it because the installation automatically inserted my WordPress admin email.

    Duh. Sorry about that.

  • mayur patil said:

    Hi , sir I have added your plugin….It’s really best

    I’ve problem that whenever I pay order through “sandbox paypal” and click on merchant link … I redirect to my wordpress blog but till there are items showing in the cart so, I want to reset the cart as empty after payment… what’s the code Please sir send me answer immediately I wants it….

    THANK YOU,
    SIR

  • admin (author) said:

    Hi mayur, It’s not actually my plugin :) . It’s a product of tipsandtricks-hq.com. If you need to tweak any code they can help you with this.

    Cheers

  • Harish Save said:

    I’m using this plugin in one of my project. Its a photographers website and the client wants to sell copies of the photographs in various sizes.

    I have everything setup and working, but I’m stuck at one place. How to add separate cost for each size. For example, a photo can be printed in following sizes:

    4×6″
    5×7″
    8×10″
    11×14″

    Now each of these sizes have different cost. The examples given in Readme.txt file mention only one cost. Is it possible to have multiple cost for same product?

    If its not possible, does anyone know similar plugin which has this feature?

  • admin (author) said:

    Yes, you can add separate cost for each size but you need to use “variation control” for that. The following post on installation and how to use variation control might be helpful-

    http://www.tipsandtricks-hq.com/ecommerce/simple-wp-shopping-cart-installation-usage-290

  • Harish Save said:

    I know variation control and I’m using it to select the image size, but don’t know where to put cost for each variation.

    I use following code:

    [wp_cart:Picture 1:price:10.00:var1[Size|4×6|5×7|8×10|11×14]:end]

    In above code $10.00 price is common to all size. Which is not what I want. I want 4×6 to be $5, 5×7 – $10 etc.

  • admin (author) said:

    Hi Harish, Sorry I messed up simple shopping cart plugin with WP eStore. Yes, you can use different variations in the simple shopping cart except the price variation. It is available in the WP eStore plugin, not in the simple shopping cart plugin.

  • Harish Save said:

    Hi Admin,

    I did some code changes and got the needed functionality. Here is the code (wp_shopping_cart.php – line # 111):

    //Commented this if block
    /*if (!empty($_POST[$_POST['product']]))
    $price = $_POST[$_POST['product']];
    else
    $price = $_POST['price'];*/

    //Added this line
    $price = ltrim(rtrim(strstr(stripslashes($_POST['product']), ‘$’), ‘)’), ‘$’);

    and in HTML I write:

    [wp_cart:Dolphin Photo:price:0:var1[Size|2 Walets - $6|4x6 - $8|5x7 - $15|8x10 - $20|11x14 - $40|16x20 - $55|20x24 - $62|20x30 - $70]:end]

    thats it.

    You can put this part in the readme.txt file so in future if anyone needs similar functionality, they can do the same thing.

  • admin (author) said:

    lol.. I didn’t develop the plugin so I couldn’t give you the solution for the price variation. But It’s nice to hear that you figured it out. If anybody needs it hope it will be helpful.

    Cheers

  • WORDPRESS said:

    [...] SHOPPING CART ECOMMERCE http://www.wordpress-ecommerce.com/wordpress-shop-using-nextgen-gallery-and-wp-shopping-cart-7 EXEMPLE DE FONCTIONNEMENT [...]

Leave your response!

You can subscribe to these comments via RSS.