Basically i want to make an online shop, only with like 5/6 products in it. but i dont want a checkout, i basically want it were the buyer can add something to a cart, enter their name, and 2 other information fields (ie phone number and collection date) and then it submits an email to me.


is this atall possible?


thanks
Scott

Member Avatar for rajarajan2017

Hi,

1.Design your Page with the form, use the method post to pass the value to another page.
2. while submit pass the value to another page
3. Create a php mail code in a seperate php file
4. Get the value from the cart page
5. Use the php mail function to send the details to the mail.

Hope this helps!

Hi, yes that does, im just stuck on how i would make the cart, would i need to make a new table on my DB with product name etc? ive never done a shop before

thanks
Scott

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.