Frontpage modified form handler not sending cart items?

Get help with nopcart intergration with MS FrontPage and related issues

Moderators: Koibito, Rosey

Frontpage modified form handler not sending cart items?

Postby Kendra » Sun Jan 21, 2007 10:30 pm

I will start at the begining. I installed the nopcart and it works great. I didn't want the database or auto email so I didn't use the .pl or .php. Now I decide that I want auto e-mail. I installed the .php and it sent the e-mail on the first try...... but without the cart items. I found this post and was very excited. I tried it but it didn't work for me.

http://www.nopdesign.com/forum/viewtopic.php?t=274

I am getting the e-mail but still no item info. I use frontpage as an editor and I know that it should work. The only modifications I made were to change the e-mail and took out some values (ID_14 and so on, I figured since the nopcart doesn't have these values that there is no reason for them to be here). I also made the confirmation page my checkout.html.
I am wondering if perhaps my problem is in the nopcart.js. The cart works great so I don't think so but it seems that I have tried everything that is posted. Is it possible that I can see the cart items but they are not being sent as variables?

The only other consern is that the e-mail is coming from my server. I saw some posts for that so if I do it this way, I want to address that as well.

I am thankful for any help. It is probably something very simple that I am missing.

http://www.mycaninecafe.com/test.htm (this is the test checkout page with the frontpage form)
http://www.mycaninecafe.com
http://www.mycaninecafe.com/htdocs/nopcart.js
Kendra
WebMaster
 
Posts: 25
Joined: Tue Jan 09, 2007 2:31 pm

Re: Frontpage modified form handler not sending cart items?

Postby Koibito » Mon Jan 22, 2007 3:29 am

Kendra wrote:....The only modifications I made were to change the e-mail and took out some values (ID_14 and so on, I figured since the nopcart doesn't have these values that there is no reason for them to be here).


Start with the unmodified version of the PHP script first. The only things you need to change are the values for $header, $footer, $returnpage, $youremail, $csvfilename, $csvquote and $mode.
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA

Postby Kendra » Mon Jan 22, 2007 7:47 pm

Sorry, I guess that I wasn't specific enough. I did start with an unmodified version of the php. I still have it:

http://www.mycaninecafe.com/htdocs/checkout.php

This is the first part where I would change the e-mail and so on:

$header = "header.html";
$footer = "footer.html";
$returnpage = "/";
$youremail = "order@mycaninecafe.com";
$csvfilename = "orders.csv";
$csvquote = "\"\"";
$mode = "EMAIL";

I have a header.html, footer.html and order.cvs in the same file. I do get both e-mail with this but have the same problem as many others.... no cart items. However, the e-mails do come from my e-mail and not my server. I originally installed the checkout.php, checkout.html and order.csv. I was very happy that I got the e-mails on the first try. If I remember correctly, not changing the $returnpage took me back to index.html (I think). Since I didn't get the cart items it really didn't do me any good so I looked around. I tried several posts that looked like they should work. I made changes to copies of the checkout.php and pointed the html to it but if I get the e-mail there is no cart info. In several of the attempts I didn't even get the e-mail.

The variables are passing to PayPal but not to e-mail. I have to be missing something! I think that I saw a post that would show what variables were passing in php but I didn't understand it. I will try to find it and see if that helps.

The reason that I posted under "FrontPage & NOPCart" is because I use FrontPage forms alot on three differnt sites and it is very easy. I just know that the post I linked above should work.
Kendra
WebMaster
 
Posts: 25
Joined: Tue Jan 09, 2007 2:31 pm


Return to Help: FrontPage & NOPCart

Who is online

Users browsing this forum: No registered users and 2 guests