|
|
|
PayPal Developer Community >
Forums >
Technical Discussion >
Basic Website Payments >
Re: Too many items to create 'add to cart' buttons
|
|
|
|
|
|
Too many items to create 'add to cart' buttons
|
|
zelium
Visitor
Posts: 3
Registered: 02-23-2009


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.
|
Solved!
 Go to Solution
|
|
|
05-04-2009 03:29 PM
|
|
|
|
|
|
Re: Too many items to create 'add to cart' buttons
|
|
skier
Ace Developer
Posts: 6574
Registered: 06-01-2007


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
|
 Accepted Solution
|
|
|
05-04-2009 03:39 PM
|
|
|
|
|
|
|
|
Re: Too many items to create 'add to cart' buttons
|
|
zelium
Visitor
Posts: 3
Registered: 02-23-2009


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.
|
|
|
|
05-07-2009 10:07 AM
|
|
|
|
|
|
Re: Too many items to create 'add to cart' buttons
|
|
ericslatonbsse
Visitor
Posts: 4
Registered: 05-07-2009


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>
|
|
|
|
05-07-2009 10:36 AM
|
|
|
|
|
|
Re: Too many items to create 'add to cart' buttons
[ Edited ]
|
|
zelium
Visitor
Posts: 3
Registered: 02-23-2009


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
|
|
|
|
05-07-2009 02:04 PM
|
|
|
|
|
|
Re: Too many items to create 'add to cart' buttons
|
|
PayPal_FrankIb
Moderator
Posts: 13853
Registered: 06-07-2006


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.
|
|
|
|
05-08-2009 05:23 AM
|
|
|
|
|
|
|
|
|
|
Re: Too many items to create 'add to cart' buttons
[ Edited ]
|
|
skier
Ace Developer
Posts: 6574
Registered: 06-01-2007


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
|
|
|
|
05-11-2009 10:03 AM
|
|
|
|
|
|
|