Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBoris Vukobrat
4,248 PointsWhat if we have many many items in our e-shop?
This works for fine for a very few items. But what if have hundreds of items in our online shop? We have to manually add each paypal code? We'll use a database of course, and then must specify and enter each item code in it.
Wouldn't it be much much easier if we keep our items and shopping cart at "our place" and send it to the paypal as Total for an order. No specifying items, no shipping, no fear of altering anything on the client's side. Everything is in our code (site). And then just send a total amount to be paid?
1 Answer
Ricky Catron
13,023 PointsFor a site of this size you should probably look at a shopping cart for your site such as Magneto or Prestashop. These are eccomerce playforms built for online store. The paypal tutorial is great but also very basic with few features and difficult maintainability.
These carts usually allow you to do just what you said and run everything on your site only using paypal to proccess the money. That is what I did when I built an eccomerce site. I used Squirrelcart because it fit my site best.
Eccomerce is tricky but both Magneto and Prestashop have great documentation.
Goodluck! --Ricky