Split price and currency

02.07.2013 00:52
#1
Intcorp
Joomshopping forum user no avatar
Name: Intcorp
09.08.2012
Posts: 16
Quote
Split price and currency

Is it possible to split price and currency in order to get price formated like
Price: 777 usd
?
Thank you


Joomla: Joomla! 2.5.11
JoomShopping: 3.14.3
 
02.07.2013 09:50
#2
Intcorp
Joomshopping forum user no avatar
Name: Intcorp
09.08.2012
Posts: 16
Quote
Aw: Split price and currency

One of the possible solutions
<small><?php print _JSHOP_PRICE;?>:</small>
<?php print $product->product_price;?>
<small> <?php echo $this->config->currency_code ?></small>


 
02.07.2013 13:48
#3
Intcorp
Joomshopping forum user no avatar
Name: Intcorp
09.08.2012
Posts: 16
Quote
Aw: Split price and currency

This doesn't work with cartajaxattributes as the price doesn't chage. If <?php print $product->product_price;?> is placed between <span> </span> then currency appeares again

 
Copyrights MAXXmarketing GmbH. All Rights Reserved