View Full Version : Normans Image in checkout
ditch
11-Apr-2003, 11:30 AM
Hi Norman,
After the success of your image in search results has had I decided to implement you images in cart and check out pages but things have gone wrong.
I get a general script error when I try to add a product to my shopping cart
http://www.macleanmarine.com/acatalog/
Would you mind taking a look to see what's wrong
Many thanks.
Regards
Richard
ditch
11-Apr-2003, 03:15 PM
I'm getting the error:
'D:\WWWRoot\macleanmarinecom\www\cgi-bin\ca000052.pl' script produced no output
When I try to add anything to my cart.
I think this may be because I couldn't enter one of the alterations to ActinicOrder.pm you listed in your guide:
##### Find the line
foreach $pComponent (@aComponentsSeparated)
##### 5 lines below you'll see the fragment
$sProductLineHTML);
##### Replace with the following line.
$sProductLineHTML, ''); # NorcatImage of Component could go here
This is because there is no instance of $sProductLineHTML); at line five (or near after).
I also changed NETQUOTEVAR:PRODUCTREFERENCE to NETQUOTEVAR:PRODUCTREF, because I was getting a javascript error saying no such object.
Your help would be much appreciated.
Many thanks
Richard
chrisbrown
11-Apr-2003, 04:23 PM
In my version of ActinicOrder.pm
foreach $pComponent (@aComponentsSeparated)
###### is on line 3509 and
$sProductLineHTML);
###### is on line 3525 which is a bit more than 5 lines lower (by the way this fragment is tabbed well over to the right).
Hope that helps :)
NormanRouxel
11-Apr-2003, 05:42 PM
It would help immensely if you tell me what version of Actinic you are using.
Norman
ditch
12-Apr-2003, 01:32 AM
Hi Norman, sorry it is 6.1.1
NormanRouxel
12-Apr-2003, 09:53 AM
I think this may be because I couldn't enter one of the alterations to ActinicOrder.pm you listed in your guide:
##### Find the line
foreach $pComponent (@aComponentsSeparated)
##### 5 lines below you'll see the fragment
$sProductLineHTML);
##### Replace with the following line.
$sProductLineHTML, ''); # NorcatImage of Component could go here
This is because there is no instance of $sProductLineHTML); at line five (or near after).
It's still there but about 10 lines further down as 6.1.1 has added a few extra lines so you'd need to read the above as:-
##### Find the line
foreach $pComponent (@aComponentsSeparated)
##### 5 lines below ( 15 for V6.1.1 ) you'll see the fragment (it may be outdented lots to the right)
$sProductLineHTML);
##### Replace with the following line.
$sProductLineHTML, ''); # NorcatImage of Component could go here
I also changed NETQUOTEVAR:PRODUCTREFERENCE to NETQUOTEVAR:PRODUCTREF, because I was getting a javascript error saying no such object.
Don't know what you're doing here. NETQUOTEVAR:PRODUCTREFERENCE is correct (or was when I last looked). Perhaps you made a spelling error elsewhere on that line. One possibility is that you have the double quote character ( " ) in your product references. This might break things. If you do use double quotes (but not single quotes) you could use the alternative line:-
<script language=JavaScript>var ThisProd = 'NETQUOTEVAR:PRODUCTREFERENCE';</script>
in your Product Template(s).
Norman
ditch
14-Apr-2003, 07:17 AM
Hi Norman,
Thanks for your help. I have made the changes.
Unfortunately I have a script error; ca000052.pl produces no output and I can't check to see if its worked. I think this could be a problem with my host and I have just rang them now to try and sort out the problem.
NormanRouxel
14-Apr-2003, 09:42 AM
ca000052.pl produces no output..
This is the ShoppingCart.pl script - perhaps you've made a mistake there. Try using the original and see if it works.
Norman
ditch
14-Apr-2003, 01:33 PM
Hi Norman,
I've got everything working now. Thanks again for all your help.
Best Regards
Richard.
ditch
14-Apr-2003, 01:53 PM
P.S.
Norman.
I'd just like to say another big thank you for the help you have given me with both the image in search results and image in check out.
I'd like to send you a case of wine to show my appreciation. Do you have a preference as to which type? :D
smiffy
30-Apr-2003, 03:37 PM
dith
I have jus been browsing you site and noticed
NETQUOTEVAR:SHIPPINGEXTRAINFO
appearing in plain text on checkout stage three - address details, just under the class of service heading.....
cdicken
01-May-2003, 03:07 PM
NETQUOTEVAR:SHIPPINGEXTRAINFO
This sometimes gets left over after an upgrade from v4/v5.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.