X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Direct Product Enquiry Form (https://forum.x-cart.com/showthread.php?t=26896)

chamberinternet 11-26-2006 01:49 PM

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

balinor 11-27-2006 02:53 AM

Re: Direct Product Enquiry Form
 
Please don't post questions in the Completed Custom Mods forum. Moving this to Third Party Add-Ons.

PhilJ 12-01-2006 06:02 AM

Re: Direct Product Enquiry Form
 
Probably due to the type of 'tabs' mod you're using.

chamberinternet 12-01-2006 06:41 AM

Re: Direct Product Enquiry Form
 
Hello PhilJ,

I'm not using the Tabs Mod ...
Any other Ideas :?

Regards

Shafiq :sK

dfawdon 12-04-2006 12:20 PM

Re: Direct Product Enquiry Form
 
Quote:

Originally Posted by PhilJ
Probably due to the type of 'tabs' mod you're using.


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

PhilJ 12-04-2006 01:38 PM

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.

dfawdon 12-04-2006 01:45 PM

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 !!

chamberinternet 12-05-2006 02:35 PM

Re: Direct Product Enquiry Form
 
Quote:

Originally Posted by dfawdon
I get the response directly after submitting the enquiry, the email arrives but the redirect back to the product page is screwed.


Same here ... and this is on a fresh x-cart 4.1.3 installation without the use of dsefu :(

KCAutosound 12-06-2006 07:31 PM

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

chamberinternet 12-07-2006 03:14 PM

Re: Direct Product Enquiry Form
 
But i'm not using the Tabs module :?

PhilJ 12-07-2006 03:23 PM

Re: Direct Product Enquiry Form
 
hmm, I've installed it on v4.0.x and v4.1.x stores without any problems.

PhilJ 12-10-2006 03:27 AM

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 :(

dfawdon 12-10-2006 05:12 AM

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 :(


chamberinternet 12-16-2006 04:04 PM

Re: Direct Product Enquiry Form
 
Great Stuff ... That did the Trick ..

Thanks PhilJ & Dfawdon :)

daveb1 01-05-2007 04:53 PM

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

daveb1 01-06-2007 01:41 PM

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

daveb1 01-09-2007 02:12 PM

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

daveb1 01-15-2007 01:09 AM

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

PhilJ 01-15-2007 05:32 AM

Re: Direct Product Enquiry Form
 
Dave, it's meant for the product pages only.

daveb1 01-17-2007 08:42 AM

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?

PhilJ 01-17-2007 08:49 AM

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.

daveb1 01-18-2007 12:30 AM

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

Warwick 02-22-2007 10:59 PM

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 :)

Warwick 02-27-2007 07:51 AM

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?

daveb1 02-27-2007 02:17 PM

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

Warwick 02-27-2007 02:24 PM

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.

daveb1 02-28-2007 02:04 AM

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)...

Warwick 02-28-2007 02:06 AM

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 ...

PhilJ 02-28-2007 02:14 AM

Re: Direct Product Enquiry Form
 
Daveb1, use the mod that is currently available on my site.

Warwick 02-28-2007 02:19 AM

Re: Direct Product Enquiry Form
 
Quote:

Originally Posted by PhilJ
Daveb1, use the mod that is currently available on my site.


Phil, that's the one I am talking about I persume?

daveb1 02-28-2007 04:50 AM

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?

PhilJ 02-28-2007 04:55 AM

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");

PhilJ 02-28-2007 04:58 AM

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

daveb1 02-28-2007 06:26 AM

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

JP908 04-19-2007 02:31 PM

Re: Direct Product Enquiry Form
 
This is great! Just what I needed. The forum has saved my ___ many times!

photo 06-19-2008 06:50 AM

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

ecommerce 07-03-2008 07:18 AM

Re: Direct Product Enquiry Form
 
Is Phil's Product Enquiry Mod working with the latest version of X-cart (7-3-2008 ???

Thanks all.

photo 07-03-2008 07:20 AM

Re: Direct Product Enquiry Form
 
Quote:

Originally Posted by ecommerce
Is Phil's Product Enquiry Mod working with the latest version of X-cart (7-3-2008) ???

Thanks all.

Its working fine for me using 4.1.10

ecommerce 07-03-2008 08:24 AM

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

paul@dimoda.com.au 07-08-2008 12:17 AM

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.