PDA

View Full Version : Customize View Basket


garethking
28-Jul-2003, 02:50 PM
I want to customiz the page that comes up when I hit the view basket button ; the link is '/cgi-local/ca000002.pl?ACTION=SHOWCART'.

I've customized all the pages that I can think of but it still display the page within Act_Primary, and I don't want it to ???

Please help.

Gareth king

I-CC
28-Jul-2003, 07:50 PM
You could try saving your current Act_Primary as say Act_Cart.html, and then setting that template within your Design | Options | Layouts tab for the cart layouts.

Then change that template to the look you want which will only ever affect those pages.

Hope it helps.....

cdicken
30-Jul-2003, 09:46 AM
Hi Gareth

Unfortunately, the 'View Cart' page uses the Default Overall Layout template (normally Act_Primary.html). There have been a number of requests recently to change this. I will add another request right now.

I-CC
30-Jul-2003, 09:54 AM
ahhh right got ya...

A way around this is to set the default layout to the altered template, login and/or front page to the normal template and then each top section to the normal template.

A bit long winded, but then does allow the different cart pages as Chris said is used by default for those pages.

Hope that is a usable workaround.

Louise West
07-Aug-2003, 09:25 AM
My colleague James McNeil has written a javascript to customise the shopping cart pages. Simply put the below code into your Act_Primary.html code.

Change <P>Insert your shopping cart status text here!</P> for your own html - this will appear on the page after you click "Add to basket".

Change <P>Insert your shopping cart text here!</P> for your own html - this will appear on the page when you click "View basket". Please find the code below.

<!-- shopping cart display java script (c) 2003 Smart Decision Dot Net Ltd. -->
<!-- This script may be used if all comments are left intact -->
<!-- http://www.smart-decision.net -->
<!-- E-mail: sales@smart-decision.net -->
<script language="Javascript">
var thispageis = "NETQUOTEVAR:PAGEHEADER";
if (thispageis == "Shopping Cart Status") { // Change value in double quotes to your shopping cart page title defined in Design > Text ID -1, Phase 51
document.write('<P>Insert your shopping cart status text here!</P>');
} // end if
if (thispageis == "Shopping Cart") { // Value of ID -1, Phase 165
document.write('<P>Insert your shopping cart text here!</P>');
} // end if
</script>
<!-- End Cart Script -->


I hope this helps.