![]() |
Direct Product Enquiry Form
Hello ...
Wondering if anyone has had a go at using the 'Direct Product Enquiry Form' free mod from http://xcartmods.co.uk/#denq ?? Seems pretty good. I'm having an issue with it in which if i was to submit the form, with or without the correct 'Code' I receive the following error message: Access denied ! You are not allowed to access that resource! Error ID: 33 Can anyone help? Regards Shafiq :sK |
Re: Direct Product Enquiry Form
Please don't post questions in the Completed Custom Mods forum. Moving this to Third Party Add-Ons.
|
Re: Direct Product Enquiry Form
Probably due to the type of 'tabs' mod you're using.
|
Re: Direct Product Enquiry Form
Hello PhilJ,
I'm not using the Tabs Mod ... Any other Ideas :? Regards Shafiq :sK |
Re: Direct Product Enquiry Form
Quote:
Are you saying Phil, this is not compatible with your tabs mod ? I am getting using this. Access denied ! You are not allowed to access that resource! Error ID: 33 |
Re: Direct Product Enquiry Form
It is compatible with my tabs mod. You could be getting the errors due to DESFU. I've not managed to reproduce that error.
|
Re: Direct Product Enquiry Form
Thanks Phil, maybe it is due to DSEFU.
I get the response directly after submitting the enquiry, the email arrives but the redirect back to the product page is screwed. On a separate note I have used a few of your free mods and have found them excellent, with good support !! |
Re: Direct Product Enquiry Form
Quote:
Same here ... and this is on a fresh x-cart 4.1.3 installation without the use of dsefu :( |
Re: Direct Product Enquiry Form
Works fine. You must have something coded wrong with your tabs. I use cartlabs tabs mod but phils looks quite similar.
http://www.kcautosound.com/issues/request_mod.jpg |
Re: Direct Product Enquiry Form
But i'm not using the Tabs module :?
|
Re: Direct Product Enquiry Form
hmm, I've installed it on v4.0.x and v4.1.x stores without any problems.
|
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 :( |
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:
|
Re: Direct Product Enquiry Form
Great Stuff ... That did the Trick ..
Thanks PhilJ & Dfawdon :) |
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 |
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 |
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 |
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 |
Re: Direct Product Enquiry Form
Dave, it's meant for the product pages only.
|
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?
|
Re: Direct Product Enquiry Form
Yes it will work fine in your HTML catalog pages. On submitting the form it will take you to the PHP version of your site.
|
Re: Direct Product Enquiry Form
I'm sure it does :) but in my catalog pages, the captcha image doesn't show, so customers can't type the correct letters in. It's a path issue I'm sure, but I'm not a coder so I can't work out what to modify.
Dave |
Re: Direct Product Enquiry Form
Is this mod still available? I can't find it at Phil's website (anymore)?
Would love to have it :) |
Re: Direct Product Enquiry Form
UPDATE: most if not all freebie mods are available again at PhilJ's website; thanks for sharing them Phil! :)
One thing wonders me after reading every post and not seeing somebody mentioning this -but I could be off track with my assumption- the captcha protection seems a bit 'basic' and easy readable by malicious scripts?! Shouldn't it have a 'funky' background so you'll need real eyes to read, like most of the captcha protection scripts have?! I understand that this one is build differently since the captcha code is integrated which may be limiting possiblities but nevertheless? Will this not give a false sense of security? |
Re: Direct Product Enquiry Form
interesting point that... there is a captcha_bg.jpg file in the images folder, but it didn't show up on my pages. All I got was a box with a white background, and 5 letters. Is there a fix for that so it shows the background image?
PS. Jon, still having the same problems... it's definitely a path problem, using Firebug in Firefox and editing the page on the fly shows the captcha image when I add a / before enquire.php?captcha=yes code, but it still messes up when the form is sent... maybe you could look into it when you have a moment? Cheers Dave |
Re: Direct Product Enquiry Form
This captcha_bg.jpg has nothing to do with it because it is probably used by something else; the captcha in the enquiry form is entirely generated by code (at least that's what I figure until now because I can't find any referring to an image in the files) so it won't call any image.
I've seen this type of 'code' captcha before and know that it is possible to have a background color or image behind it but I just don't know how to do that ... ... what I do figure is that the font is always straight with code captcha and not tweaked as you can see with the 4.1.6 captcha. |
Re: Direct Product Enquiry Form
If the captcha_bg.jpg file has nothing to do with it, why is it included in the install zip file? Jon must have included it for a reason (although the functionality may be broken)...
|
Re: Direct Product Enquiry Form
Didn't get that with my install file; you're sure we're talking about the same mod? Mine is the freebie from PhilJ ...
|
Re: Direct Product Enquiry Form
Daveb1, use the mod that is currently available on my site.
|
Re: Direct Product Enquiry Form
Quote:
Phil, that's the one I am talking about I persume? |
Re: Direct Product Enquiry Form
The mod I'm using is from PhilJ's site (sorry, don't know where the name Jon came from!!).
I think I may have got confused over which version I was using, the older version had a captcha_bg.jpg file in an images directory, but the new one I've just downloaded doesn't. I've uploaded the new files, and it's still doing the same thing... see these 2 links for comparison the dynamic page (which works fine) http://lizzybug.co.uk/product.php?productid=808&cat=0&page=1 and the static one (which doesn't work)http://lizzybug.co.uk/catalog/IFO-3000-Identified-Flying-Object-Accessory-Colour-Changing-Night-Light-p-808.html Any ideas? |
Re: Direct Product Enquiry Form
I'd suggest adding the full path to the return page link...
enquire.php, change... Code:
header("Location: product.php?productid=".$XCMproductid."&sendenqok=1"); to... Code:
header("Location: http://www.yourstore.com/product.php?productid=".$XCMproductid."&sendenqok=1"); |
Re: Direct Product Enquiry Form
http://lizzybug.co.uk/catalog/
^ If I were you, I'd add a .htaccess file to this directory Code:
DirectoryIndex index.html |
Re: Direct Product Enquiry Form
Hi PhilJ
Making that change seems to have no effect to the static html pages (assuming the line I'm changing is the code just before the exit; line?). Added the .htaccess thanks... no idea where that went as it was there last time I looked! I seem to be having problems generally with the static pages, as the Dynamic Search mod, also from your site, doesn't work either, but works fine in the php pages. Thanks for your help so far... any other ideas? Dave |
Re: Direct Product Enquiry Form
This is great! Just what I needed. The forum has saved my ___ many times!
|
Re: Direct Product Enquiry Form
Phil
Is there a way to set this up to only show for certain products? We offer printing for various products and I thought if I could tweak this mod a little it would work a treat for customers to request a quote for printing. Thanks |
Re: Direct Product Enquiry Form
Is Phil's Product Enquiry Mod working with the latest version of X-cart (7-3-2008 ???
Thanks all. |
Re: Direct Product Enquiry Form
Quote:
|
Re: Direct Product Enquiry Form
Thanks Photo.
Also guys, if the "Configurator" mod by x-cart is being used, and a customer configures a Computer, after they are done configuring, instead of adding to cart I will like to have the tab "Enquiry Form". Question: If they submit the Enquiry Form after configuring, will all the configuring details be submitted to admin? OR will only the name of the product be submitted to admin? Thanks |
Re: Direct Product Enquiry Form
Has anyone got this working with CDSEO or CDSEO pro? CDSEO rewrites so that there is no message that the enquiry is sent of that the captcha is incorrect...
|
All times are GMT -8. The time now is 04:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.