Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Customizing price field

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-10-2004, 11:15 AM
 
techmonkey techmonkey is offline
 

Member
  
Join Date: Dec 2003
Posts: 16
 

Default 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!
Reply With Quote
  #2  
Old 01-10-2004, 11:33 AM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

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}
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #3  
Old 01-10-2004, 12:38 PM
 
techmonkey techmonkey is offline
 

Member
  
Join Date: Dec 2003
Posts: 16
 

Default

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?
Reply With Quote
  #4  
Old 01-11-2004, 04:57 AM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default

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.
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:22 AM.

   

 
X-Cart forums © 2001-2020