X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Customizing price field (https://forum.x-cart.com/showthread.php?t=5951)

techmonkey 01-10-2004 11:15 AM

Customizing price field
 
Which template can I find the price field for the product? I need to alter the position of the dollar sign. I looked through the templates with product in the name but I can't seem to find the appropriate file.

Thanks!

leon 01-10-2004 11:33 AM

Its in the /skin1 under currency.tpl .

Go in there and find this line:
{$config.General.currency_symbol} {$value|abs_value|formatprice:",":"."}

Just switch the first tag around (in back of the other) like this:
{$value|abs_value|formatprice:",":"."} {$config.General.currency_symbol}

techmonkey 01-10-2004 12:38 PM

Thanks Leon, that is exactly what I needed.

One more question - If I wanted to change the BG color for the front page featured product cell, and the product detail cells, what template would I modify for that?

leon 01-11-2004 04:57 AM

All color elements, as well as design layouts (besides the ones forced by your templates) are done in the Cascading style sheet.

/skin1/skin1.css

Open that up and redesign your elements. I would sugget using TopStyle it is a great CSS visual editor.

You can find TopStyle at http://www.bradsoft.com

They even have a trial version. Recommended. :wink:


All times are GMT -8. The time now is 03:03 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.