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

Direct Product Enquiry Form

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #11  
Old 12-07-2006, 03:23 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Direct Product Enquiry Form

hmm, I've installed it on v4.0.x and v4.1.x stores without any problems.
__________________
xcartmods.co.uk
Reply With Quote
  #12  
Old 12-10-2006, 03:27 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Direct Product Enquiry Form

Found the reason for the access denied issue...

In enquire.php

change

Code:
header("Location: product.php?productid=".$productid."&sendenqok=1");

to

Code:
header("Location: product.php?productid=".$XCMproductid."&sendenqok=1");

My mistake
__________________
xcartmods.co.uk
Reply With Quote
  #13  
Old 12-10-2006, 05:12 AM
 
dfawdon dfawdon is offline
 

Advanced Member
  
Join Date: Feb 2006
Location: UK
Posts: 82
 

Default Re: Direct Product Enquiry Form

Thanks Phil, that fixed it.
Also need to change the line for incorrect validation code used:

Code:
header("Location: product.php?productid=".$productid."&sendenqok=2");

to

Code:
header("Location: product.php?productid=".$XCMproductid."&sendenqok=2");

Quote:
Originally Posted by PhilJ
Found the reason for the access denied issue...

In enquire.php

change

Code:
header("Location: product.php?productid=".$productid."&sendenqok=1");

to

Code:
header("Location: product.php?productid=".$XCMproductid."&sendenqok=1");

My mistake
__________________
X-Cart Gold 4.0.17
X-AOM
Safetynet DSEFU
Easy Checkout
_________________
Reply With Quote
  #14  
Old 12-16-2006, 04:04 PM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: Direct Product Enquiry Form

Great Stuff ... That did the Trick ..

Thanks PhilJ & Dfawdon
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #15  
Old 01-05-2007, 04:53 PM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default Re: Direct Product Enquiry Form

Hi All

I've just installed it, and whilst I got the errors mentioned above, they were easily fixed with the 2 lines of code mentioned above.

My trouble now is that it always says the code is wrong... I've tried loads of times, and always the same problem... I don't think my eyesight is that bad!!

Also, it doesn't show the code at all in the static pages, just an "image not found" red cross.

Any one got a solution? You can try it out at http://lizzybug.co.uk/home.php, or http://lizzybug.co.uk/catalog/index.html and pick any product.

Cheers

Dave
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
  #16  
Old 01-06-2007, 01:41 PM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default Re: Direct Product Enquiry Form

OK, I've turned of the captcha error by commenting out the exit line, but that obviously means there's no validation on the captcha at all now. If anyone has any ideas on why it doesn't validate I'd be pleased to hear them!

Also it doesn't work on the static product pages at all, it just sends the word "enquire" to the search page. This COULD be because of a modification I've got that sends any wierd URLs to an "intelligent" 404 page, or it could be something else.

Any help?

Thanks

Dave
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
  #17  
Old 01-09-2007, 02:12 PM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default Re: Direct Product Enquiry Form

well I've had to disable it for the moment, shame as it was exactly what I was looking for. I've PM'd PhilJ just in case he hasn't seen this thread for a while... I'll report back here if he finds a solution.

Regards

Dave
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
  #18  
Old 01-15-2007, 01:09 AM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default Re: Direct Product Enquiry Form

Well I saw the package had been updated, so I installed the new version... still doesn't work on the static pages. Does anyone know if it's supposed to?

Dave
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
  #19  
Old 01-15-2007, 05:32 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Direct Product Enquiry Form

Dave, it's meant for the product pages only.
__________________
xcartmods.co.uk
Reply With Quote
  #20  
Old 01-17-2007, 08:42 AM
 
daveb1 daveb1 is offline
 

eXpert
  
Join Date: Sep 2003
Location: Brighton, UK
Posts: 222
 

Default Re: Direct Product Enquiry Form

Sorry, by static pages I meant the product pages in the html catalog directory. Is it supposed to work in those?
__________________
Quiet please... I'm trying to unscramble my brian.

http://lizzybug.co.uk (live, minor mods, 4.0.15)
EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!)

http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 07:46 AM.

   

 
X-Cart forums © 2001-2020