Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Inquiry form for 4.0+

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 04-07-2008, 03:25 AM
 
paul@dimoda.com.au paul@dimoda.com.au is offline
 

Senior Member
  
Join Date: Aug 2007
Location: Perth, Australia
Posts: 148
 

Default Re: Product Inquiry form for 4.0+

That ecactly my issue also. The mod is awesome, works great with my dynamic site by the captch code does not seem to work with my root html catalogue

Any ideas??
__________________
X-Cart Gold 4.1.10, 4.1.18, 4.4.4, 4.4.5
Reply With Quote
  #12  
Old 04-07-2008, 03:47 AM
 
paul@dimoda.com.au paul@dimoda.com.au is offline
 

Senior Member
  
Join Date: Aug 2007
Location: Perth, Australia
Posts: 148
 

Default Re: Product Inquiry form for 4.0+

OK, think I have got the static page thing sorted.

I modified enquire.tpl from:

<td>{$lng.lbl_Enquire_Code}:</td>
<td>&nbsp;</td>
<td><img src="enquire.php?captcha=yes"></td>

to


<td>{$lng.lbl_Enquire_Code}:</td>
<td>&nbsp;</td>
<td><img src="/store/enquire.php?captcha=yes"></td>

and modified enquire php from:

$emailBody = "Product: $XCMproduct\n"
. "Link: http://$XCMurl/product.php?productid=$XCMproductid\n"

to

$emailBody = "Product: $XCMproduct\n"
. "Link: http://www.CoffeeShrine.com.au/store/product.php?productid=$XCMproductid\n"

to get the correct product link for my static pages.

I hope that helps everyone else that gets stuck on this.

Once again Phil, great mod!
__________________
X-Cart Gold 4.1.10, 4.1.18, 4.4.4, 4.4.5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:05 AM.

   

 
X-Cart forums © 2001-2020