Jump to content

Recommended Posts

I am trying to learn how to use php. I know a lot about HTML, but have only been trying php out for about 6 months now. I have found the hardest thing with PHP is implementing my shopping cart. I am trying to install a php cart and I'm sure that I am making this way harder than it should be. I have so far been able to work with the view cart page and have it working just fine. My products are adding to the cart and appear correctly. My problem lies at checkout. I have a rough draft of my customer info. page and a continue button at the bottom of this page. The continue button is suppose to take my customers to the checkout.php page so they can input their shipping address and pmt. info. When I click on the continue button as it is now it simply does a sort of refresh and erases my input? Can anyone help? Not sure if I need to post my php code here or if it just gets viewed with the view source page. Here's a link to my customer.php page:

 

http://superflywatches.com/customer.php

 

If more info. is needed please do let me know. I am really frustrated because I thought this would be simple and it has now taken me more than two wks. to get this cart to work. I just don't know what else to check?  :'(

Link to comment
https://forums.phpfreaks.com/topic/138214-php-shopping-cart/
Share on other sites

Not sure if I need to post my php code here or if it just gets viewed with the view source page.

 

No...  Browsers only display the rendered HTML.  PHP lives only on the server.

 

You have to post your code.  Make sure you use code tags.

Link to comment
https://forums.phpfreaks.com/topic/138214-php-shopping-cart/#findComment-722675
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.