PDA

View Full Version : Missing Cart buttons


JMK2
12-Nov-2003, 10:10 PM
I have a curious problem. Now that I can show my cart, of the four buttons that are supposed to be there, only one of them, the 'Checkout Now' button shows.
http://www.mparam.com/cgi-bin/ca000002.pl?ACTION=SHOWCART&ACTINIC_REFERRER=http://www.mparam.com/acatalog/

For example, "continue_shopping.gif" does not display, but it in fact is present in the acatalog directory. Some of the actions are in fact enabled as you can blind click them.

Below is the source code from the page, I see the sord "disabled" in some. Does this have some bearing on the matter perhaps?

<TABLE BORDER="0" CELLPADDING=0 CELLSPACING="0">
<TR>
<TD align="center">


<!-- <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:UPDATEBUTTON" DISABLED> -->
<INPUT TYPE="IMAGE" NAME="ACTION_UPDATE" SRC="update.gif" DISABLED>

</TD>

<TD align="center">


<!-- <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:SAVEBUTTON" DISABLED> -->
<INPUT TYPE="IMAGE" NAME="ACTION_SAVE" SRC="save.gif" DISABLED>

</TD><TD align="center">

<!-- <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:RESTOREBUTTON"> -->
<INPUT TYPE="IMAGE" NAME="ACTION_GET" SRC="retrieve.gif">


</TD>

<TD align="center">

<!-- <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CONTINUEBUTTON"> -->
<INPUT TYPE="IMAGE" NAME="ACTION_CONTINUE" SRC="continue_shopping.gif">


</TD>
<TD align="center">


<!-- <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CHECKOUTBUTTON" DISABLED> -->
<INPUT TYPE="IMAGE" NAME="ACTION_BUYNOW" SRC="checkoutnow.gif" DISABLED>

</TD>
</TR>
</TABLE>
</P>

<!-- <SPAN CLASS="actxsmall"><P><A HREF="http://www.mparam.com/acatalog/">Continue shopping</A><P></SPAN>
<INPUT TYPE="HIDDEN" NAME="PAGE" VALUE="CART"> -->

</TD></TR>
</TABLE>

cdicken
13-Nov-2003, 03:58 PM
The issue is that in 'Design | Colors' you have set both palette 1 and palette 3 to white - these are the two colors that colorise the button.

I suggest copying update.gif, save.gif, retrieve.gif and continue_shopping.gif from 'Formats/Themes/Layout9' to your 'Site1' folder. This will make all your buttons looks like the 'Checkout Now' button.

JMK2
13-Nov-2003, 04:33 PM
I'm giving myself a smack on the head on your behalf. If I had opened the folder with an image viewer such as thumbs I would have seen what was going on, DUH. Thanks a lot Chris.

JMK2
14-Nov-2003, 03:08 AM
Originally posted by cdicken
The issue is that in 'Design | Colors' you have set both palette 1 and palette 3 to white - these are the two colors that colorise the button.

I suggest copying update.gif, save.gif, retrieve.gif and continue_shopping.gif from 'Formats/Themes/Layout9' to your 'Site1' folder. This will make all your buttons looks like the 'Checkout Now' button.

Strange, I checked Layout9 and it ends with 'top2.gif'. None of those buttons appear to be in there. The only place I can I can find them is 'PreviewHTML', but they are B&W images. Maybe my best bet is to go back and change the palette?

Q: Why does David Dickenson of 'Bargain Hunt' have such a tan? I thought it rained all the time in the UK?

cdicken
17-Nov-2003, 12:13 PM
.Q: Why does David Dickenson of 'Bargain Hunt' have such a tan? I thought it rained all the time in the UK?
He is one of a tribe of orange people that you get in England. You may have also seen them in 'Willy Wonka's Chocolate Factory'.

JMK2
17-Nov-2003, 06:49 PM
heh, heh, I must confess to watching it when it comes on anyway, I always was a Lovejoy fan.

So I seem to have a similar problem relating to these buttons still.

If you go to http://www.mparam.com/acatalog/search.html you'll note that under every button the characters "> are displaying. I assume they must be in the database somewhere associated with the variables. Can I remove them by opening the database and doing some editing?

cdicken
18-Nov-2003, 08:30 AM
I think the problem is coming from somewhere in your Act_NavigationItem.html template or your Act_NavigationImage.html template. Could you check those two for me please?

Look for the following extraneous code:

<!-- NavigationItem HTML end -->"></A>

JMK2
25-Nov-2003, 03:34 AM
Thanks Chris,

I checked both of them and I see:
<!-- NavigationItem HTML end -->

But I do not see the "</A>" at the end of them in either file.

Now what's strange is I get the same thing even after I did a complete re-install of the program.

Is there anything that happens after these two files perhaps?

And, BTW, I still have the strange behaviour of the mixed button images if you look at:

http://www.mparam.com/cgi-bin/ca000002.pl?ACTION=SHOWCART&ACTINIC_REFERRER=http://www.mparam.com/acatalog/

Where you can see both of these problems at the same time.

cdicken
25-Nov-2003, 03:58 PM
With regards to the button problem, go to the 'Formats/Themes' folder and go into 'Layout1'. Copy the 'checkoutnow.gif' to the 'Layoutxx' folder that represents the theme you are using.

Then go to 'Design | Colors' and click 'Select'. It should copy the new image - nicely colored - to your Site1 folder.

With regards to the other problem, please zip up the templates I mentioned and attach them here.

JMK2
25-Nov-2003, 07:29 PM
Here's those templates you mentioned above, I'll give the above suggestions a try, thanks Chris.

cdicken
26-Nov-2003, 07:41 AM
Your problem is that before each navigation button there is this code:

<td width="20%"><p><A HREF="http://www.mparam.com/acatalog/

and after each one there is this code:

"></A>

Is this code in your Act_ShoppingCart.html template?

It looks like you have tried to edit it with Dreamweaver (or something) and it has gone a bit wrong.

JMK2
26-Nov-2003, 08:06 AM
Could it be taking the following (in my act_primary.html) and interpolating the variable value from a setting that I have entered somewhere in the settings perhaps? I checked that template and no luck.


<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBHOME"></A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBSEARCH"></A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBCHECKOUT"></A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBLOGIN"></A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBMAIL"></A>
</tr>

Thanks Chris.

cdicken
26-Nov-2003, 10:34 AM
Add the word 'LINK' on to the end of all those URLS - i.e.

<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBHOMELINK">Home</A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBSEARCHLINK">Search</A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBCHECKOUTLINK">Checkout</A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBLOGINLINK">Login</A>
<td width="20%"><p><A HREF="NETQUOTEVAR:NAVBMAILLINK">Mail Us</A>
</tr>

JMK2
26-Nov-2003, 10:53 PM
Thanks Chris, that works, great, I think the text links better than the buttons anyway.

JMK2
06-Dec-2003, 04:54 AM
Originally posted by cdicken
With regards to the button problem, go to the 'Formats/Themes' folder and go into 'Layout1'. Copy the 'checkoutnow.gif' to the 'Layoutxx' folder that represents the theme you are using.

Then go to 'Design | Colors' and click 'Select'. It should copy the new image - nicely colored - to your Site1 folder.

With regards to the other problem, please zip up the templates I mentioned and attach them here.

The problem that I'm having with that appears to be different. The checkout button is the only one that displays, it is the rest that are missing. However I copied them over in the manner noted above ("save", "update", etc.,) however nothing changed on update, perhaps I need to refresh the site to see the changes?

cdicken
09-Dec-2003, 08:36 AM
I can see all your buttons in your shopping cart. They are orange text on a black background. The 'checkout now' button looks different - that is grey with black text on it. I have attached a screengrab to show you what I see.

Could you please tell me:

1) Do you see what I see?

2) What do you want to happen? Do you want all your buttons to be orange on black, or black on grey?

3) What theme is your design based on?

JMK2
09-Dec-2003, 05:37 PM
Yes, I see the same thing. I assume it is not the default for one button to be different than the rest, even though I still got it when I did a reinstall and restarted the site.

The theme I used was the Simple design #9. Perhaps the checkout gif got placed into the #9 directory by mistake at one point and that's why it's used?

It doesn't much matter to me if it uses the graphic button like the existing checkuot button, or is text based, I just thought it would be better if it were consistent, whichever is the most practical solution is fine for me.

Thanks Chris.

cdicken
10-Dec-2003, 08:18 AM
If you want to have all grey buttons in your design, then copy the attached files (they are in a zip file) into your '/Formats/themes/Layout09' folder and then re-apply your color scheme.

cdicken
10-Dec-2003, 08:19 AM
... and if you want color buttons, then place the attached files into 'Layout09' and then re-apply the colour scheme.