Jump to Page:   1 · 2  |  Next Page
Too many items to create 'add to cart' buttons
Options    Options  
zelium
Visitor
Posts: 3
Registered: 02-23-2009


zelium

Message 1 of 12

Viewed 3,473 times


Hi,

 

I am developing a small web store.  I decided to use 'Websites Payments Standard' from Paypal, because of its easy integration process.  However, I recently found out that I have too many items (approx 800 items) to create 'add to cart' codes for our store.  I confirmed from a PayPal support staff that I have to generate 'add to cart' code for each item if I use Websites Payments Standard.  I really want to use PayPal as a payment option and do not want to create code 800 times.  BTW, all my product descriptions are stored in a MySQL database.  Now, I am thinking about "Websites Payments Pro" as an option.  However, there is a learning curve for PayPal's APIs and I need to adapt 3rd party shopping cart solution (Websites Payment Pro does not provide any cart, right?).

 

This is my first e-commerce experience and I do not know what might be the best option for me.  Our web store is small but has too many items to deal with.

 

Please share your wisdom with me.  What solution will work the best?  My main tools are HTML, PHP and Dreamweaver.

 

Thanks a lot. 

Kudos!
Solved!
Go to the Solution
Go to Solution
05-04-2009 03:29 PM  
Re: Too many items to create 'add to cart' buttons
Options    Options  
skier
Ace Developer
Posts: 6574
Registered: 06-01-2007


skier

Message 2 of 12

Viewed 3,471 times


One thought, using Website Payments Standard, you are not required to use the online button creator.  If your item button code format is similar, you can simply create clear text item button code and clone it using copy and paste.  Then all you would have to do is change the item name, item number and amount for the individual items.  We've built pages and pages of items this way for various projects.

 

Regards,

 

skier


 

JK Quilting™ and the BCES™ Button Code Example Site
Breckenridge, Colorado
Life is Good at 9603 Feet!
1
Kudos!
Accepted Solution
Accepted Solution
05-04-2009 03:39 PM  
Re: Too many items to create 'add to cart' buttons
Options    Options  
FG
Regular Contributor
Posts: 52
Registered: 04-23-2009


FG

Message 3 of 12

Viewed 3,467 times


zelium,

 

Creating your buttons dynamically as plain text html forms is a simple way to do it.  If you want to create dynamic hosted buttons so you can track inventory, try out using the button API.

 

Documentation is located here for the NVP API:

https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_WPSButtonMgrAPINVP.pdf

 

and here for the SOAP API

https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_WPSButtonMgrAPISOAP.pdf

 

Hope this helps.

1
Kudos!
05-04-2009 03:52 PM  
Re: Too many items to create 'add to cart' buttons
Options    Options  
zelium
Visitor
Posts: 3
Registered: 02-23-2009


zelium

Message 4 of 12

Viewed 3,379 times


skier, FG

 

Thanks a lot for your solutions and links.   

Your answers save tons of my time.

I really appreciate it. 

Kudos!
05-07-2009 10:07 AM  
Re: Too many items to create 'add to cart' buttons
Options    Options  
ericslatonbsse
Visitor
Posts: 4
Registered: 05-07-2009


ericslatonbsse

Message 5 of 12

Viewed 3,375 times


Hey Zelium,

I just recently posted pretty much the same type of question.

Do you use Dreamweaver at all?  What I did was to create one product.php page.  Then I placed one html form for the PAYPAL option.  I then deleted the item and price field and replaced it with a binded call to the database to dynamically place the correct productID and price and it works beautifully.

 

Sample:

<form method="post" action="https://www.paypal.com/cgi-bin/webscr">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="">
<input type="hidden" name="item_name" value="<?php echo $row_rsDetails['productName']; ?>" />
<input type="hidden" name="item_number" value="<?php echo $row_rsDetails['productID']; ?>" />
<input type="hidden" name="amount" value="<?php echo $row_rsDetails['price']; ?>" />
<input type="hidden" name="shipping" value="1.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="">
<input type="hidden" name="undefined_quantity" value="1">
<input type="image" src="http://images.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" width="68" height="23" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

 

2
Kudos!
05-07-2009 10:36 AM  
Re: Too many items to create 'add to cart' buttons   [ Edited ]
Options    Options  
zelium
Visitor
Posts: 3
Registered: 02-23-2009


zelium

Message 6 of 12

Viewed 3,360 times


ericslatonbsse,

 

Thanks for your code.  That would be really helpful.  I really appreciate it.

 

I do not know why the customer support people of PayPal did not tell me about the solutions like yours in the first place.  They just told me that I have to create 'add to cart' codes for each item manually in the profile page of my account in PayPal.

 

I am very glad that I asked the question here.

You guys rock. 

Message Edited by zelium on 05-07-2009 02:07 PM
Message Edited by zelium on 05-07-2009 02:15 PM
Kudos!
05-07-2009 02:04 PM  
Re: Too many items to create 'add to cart' buttons
Options    Options  
PayPal_FrankIb Moderator
Moderator
Posts: 13853
Registered: 06-07-2006


PayPal_FrankIb

Message 7 of 12

Viewed 3,289 times


Hi zelium,

 

Customer support is not trained in the technical aspect of web design or the button code. That would be Merchant Technical Support or this forum. They are limited to the generic creation of buttons using the button factory.


 

Frank I.
PayPal Certified Developer
PayPal Merchant Technical Services Analyst
http://www.paypaldeveloper.com
PayPal, an eBay Company

Give a man a fish, and you feed him for a day. Teach a man to fish and you feed him for a lifetime.

Kudos!
05-08-2009 05:23 AM  
Re: Too many items to create 'add to cart' buttons
Options    Options  
Swiss-chocolate
Visitor
Posts: 3
Registered: 05-11-2009


Swiss-chocolate

Message 8 of 12

Viewed 3,185 times


Hi ericslatonbsse, i am a total beginner in php. Could you tell me how this work out? I have a MySQL database with products information. Is "ProductID" you mentioned the keyvalue of the database with auto-increment? thank you.
Kudos!
05-11-2009 09:22 AM  
Re: Too many items to create 'add to cart' buttons
Options    Options  
Swiss-chocolate
Visitor
Posts: 3
Registered: 05-11-2009


Swiss-chocolate

Message 9 of 12

Viewed 3,183 times


Dear Skier, how does this work? I am a total beginner in php and am looking for solution to integrate my small webshop with PayPal. I have around 1200 items and using the paypal add to cart button drive me crazy. I have a MySQL database with PayPal. Thank you for help. Sincerely.
Kudos!
05-11-2009 09:27 AM  
Re: Too many items to create 'add to cart' buttons   [ Edited ]
Options    Options  
skier
Ace Developer
Posts: 6574
Registered: 06-01-2007


skier

Message 10 of 12

Viewed 3,176 times


As there are various solutions, your best option would be to contact one of the Developers listed here.  This way you can receive one-on-one attention and end up with a solution that works best your individual requirements.

 

Regards,

 

skier

Message Edited by skier on 05-11-2009 11:05 AM

 

JK Quilting™ and the BCES™ Button Code Example Site
Breckenridge, Colorado
Life is Good at 9603 Feet!
Kudos!
05-11-2009 10:03 AM  
Jump to Page:   1 · 2  |  Next Page
Copyright © PayPal. All Rights Reserved. By using this site, you agree to be bound by PayPal's Legal Disclaimer, User Agreement, and Privacy Policy. This site is subject to change without notice. All other products and company names are trademarks of their respective corporations.