You are here:  » Decimal place and columns

Support Forum



Decimal place and columns

Submitted by zlomennypez on Sun, 2012-03-04 15:20 in

Hi,

1) How i could change price decimal places from 1950.00 to 1950 Kč.

2) How I could place merchants to collumns. I have all merchants in 1 collumn and it doesn´t look good.

Thank you .

Submitted by support on Sun, 2012-03-04 16:41

Hi zlomennypez and welcome to the forum!

> 1) How i could change price decimal places from 1950.00 to 1950 Kč.

In the following HTML template files:

html/featured.php
html/searchresults.php
html/price.php

...use your text editor to make a Search and Replace of:

<?php print $config_currencyHTML.$product["price"]; ?>

with:

<?php print intval($product["price"])." ".$config_currencyHTML?>

And in

html/product.php

...make a Search and Replace of:

<?php print $config_currencyHTML.$mainProduct["price"]; ?>

with:

<?php print intval($mainProduct["price"])." ".$config_currencyHTML?>

(I assume that you already have Kč set-up as your value for $config_currencyHTML in config.php)

> 2) How I could place merchants to collumns

Sure - you can change the number of columns in html/atoz.php, look for the following code at line 3:

  $columns = 1;

...and change the value of $columns to however many required (note this will affect category and brand A-Z index pages also)

Cheers,
David.
--
PriceTapestry.com