Need some help with PHP cart codes
Hi guys,
I am not sure if you can help me or not. I am builing a cart using CubeCart and do not really know any programming in PHP. What I need to do it put some additional fields in the cart on a certain step, like a drop-down list and a comments field. I have the HTML code I need, but am not sure how to intergrate it into the PHP so that it will carry over through the next step and into the email and invoice.
I can send the code you think you would need to help me. I have tried the CC forum and they have not answered me twice. So I thought that I would ask here.
Thanks so much,
Micah
My website is webtest.creationtidbits.com and don't worry about making bogus orders to test it, because it is not public yet, so it is in only it's testing time.
benf posted this at 23:59 — 9th February 2007.
They have: 426 posts
Joined: Feb 2005
Well you need to locate the file that actually inserts the contents into the cart and add to add your new items then add the fields into that table, the update script willl tell you what table it is using.
Then save the new items as sessions if thats what they are using.
Just do it a bit at a time, i suggest creating a clone of your site to test it.
Good Value Professional VPS Hosting
wamasterhunter posted this at 22:55 — 10th February 2007.
They have: 6 posts
Joined: Feb 2007
What do you mean by the update script? I have the code I need and can put it into the page, but the problem I am having is that I cannot get it to carry through to the email and invoice. So how would I intergrate with the PHP code?
thanks,
Micah
wamasterhunter posted this at 20:44 — 11th February 2007.
They have: 6 posts
Joined: Feb 2007
I just had an idea that might work, so I am going to try it, we will see if it works. I will tell you guys if it works.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.