|Posted: 05/10/2011, 12:01 AM
I need some help to implement some shop function into an existing CCS page.
In the moment it is used as a catalog -> List of Items
Add to cart
Needed tables: customers, orders, orderitems
Add a field to the list of items -> 'pieces', default = 0
Add a button on top and on the bottom of the list -> 'Order'
When 'Add to cart' is fired
a) a new order is created
b) all the Items of the list with pieces>0 will be written to orderitems
When the cart is viewed the list of orders is visible with the oportunity of updating the pieces or deleting the item from the order list.
When 'Order now' is fired and user is not logged in -> 'Sign up and Login' page is visible
After login the order is assigned to the customer account and a confirmation email with the orderdata will be sent to the customer and to me. No online payment is required!
Captcha and email verification procedure
Sample page that comes close to my idea:
My current site:
Please write a PM with your solution and offer