Wednesday, August 8, 2012

Re: shopping cart

a typical 'simple' shopping cart will have a model arrangement something like this

Product
Order
Customer

Customer HasMany Order (a customer can make more than one order)
Order HasMany Products (an order contains many products)

Customer signs up then looks at a list of products - on selection of the products the products are added to the order
on check out the total order value is calculated by multiplying the price of an individual product by the quanitity, and then summing the total for each row in the order.

Dead simple and wont deal with stuff like shipping, payment gateways, tax and what not but that should get you started.... (your requirements are very vague so I have no idea if this will suffice for your study exam)

On Thu, Aug 9, 2012 at 2:34 AM, anfuet <newpetra48@googlemail.com> wrote:
Hello everybody.
I need a very simple shopping cart, but i don't know how i can create a shopping cart.
I know there are some plugins but it is for my study exam.

Can you help me, please?

Here you can find my post in cakephpforum.netlink

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: