PDA

View Full Version : Shopping Cart font


lucie_brand
17-Jun-2003, 11:29 AM
Is there any way to change the font of the text in the shopping cart or the colour of the table that contains the info?

Can I change it by editing one of the html templates or do I need to alter one of the scripts?

I want to change the text from arial to verdana and make the table a lighter grey.

Any advice would be much appreciated! xx

Jan
17-Jun-2003, 11:45 AM
You can change the background colour by going to design/themes and colours and customizing your colour scheme. I don't know how to change the font but imagine that you would have to change on of the shopping cart templates, which you can do from Advanced/Template Manager on the Ordering tab.

Regards,

lucie_brand
17-Jun-2003, 01:11 PM
Thank you for your suggestions: I have changed the cart background colour, but you are not able to change the actual cart border colour from Design > Themes > Customise. So still no joy!

Likewise, I have tried editing the cart template, but nothing can change the font of the text in the shopping cart!

Thanks again for your suggestions though - any more ideas gratefully received! :)

pinbrook
17-Jun-2003, 02:53 PM
since it is V4 then you have to edit the ACT_order_xxxxx.html files

and one fo the perl scripts shoppingcart.pl ( i think) if not then orderscript.pl

lucie_brand
17-Jun-2003, 03:55 PM
Tried both of these scripts - cannot alter font in either of them - no font tags to change.

Can't alter the order HTML templates either to change the font of the info in the cart. Have changed all the headings with Design Options, is the content I cant change.

Thanks anyway!

Any more ideas? :)

pinbrook
17-Jun-2003, 04:09 PM
Can't alter the order HTML templates either to change the font of the info in the cart

I don't understand this!

open ACT_ORDER_00.html in notepad, find "arial" replace with verdana

zmagyar
17-Jun-2003, 05:48 PM
Unluckily you need some script changes to modify the cart layout in v4. Only v6 has template based cart.
The HTML code for the shopping cart is generated by sub GenerateShoppingCartLines of ActinicOrder.pm. If you want to change the layout then open ActinicOrder.pm in a plain text editor and find sub GenerateShoppingCartLines. You will see lines like$sOrderLines .= "<P><FONT FACE=\"ARIAL\" SIZE=\"2\"><B>" . ACTINIC::GetPhrase(-1, 165);These lines are responsible for the cart layout. You can change any text enclosed by double quotes (be careful editing the file).
Before you do any changes I would suggest to do a backup of this file to have something to revert to if anything goes awry.
Note that Actinic doesn't support any script customisation therefore you should do it at your own risk.

I hope this helps.

lucie_brand
18-Jun-2003, 09:47 AM
Worked a treat - thanks a lot!!:)