Currency Symbol customisation

15.08.2011 13:50
#1
sian
Joomshopping forum user no avatar
Name: sian
15.08.2011
Posts: 6
Quote
Currency Symbol customisation

How do I customise the price shown to display an Australian Currency symbol $? Kind regards.


Joomla: 1,6
JoomShopping: 3.2.4
Website Url: www.ozbikergirl.com

Letzte Änderung: 15.08.2011 13:52
 
15.08.2011 15:54
#2
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2251
Quote
Aw: Currency Symbol customisation

Hello,

http://www.webdesigner-profi.de/joomla-webdesign/video/joomshopping/new_currency.avi

Greetings


Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
16.08.2011 01:44
#3
sian
Joomshopping forum user no avatar
Name: sian
15.08.2011
Posts: 6
Quote
Aw: Currency Symbol customisation

Thank you. The video tutorial you directed me to does not indicate where to configure joomshopping to display a currency symbol ($) in front of the price. Please help.


Joomla: 1.6
JoomShopping: 3.2.4
Website Url: www.ozbikergirl.com
 
16.08.2011 02:11
#4
sian
Joomshopping forum user no avatar
Name: sian
15.08.2011
Posts: 6
Quote
Aw: Currency Symbol customisation

Thanks again. I spent some time playing around with configuration and manage to solve my issue. Thank you for you quick respond.

 
26.10.2011 04:16
#5
stv3
Joomshopping forum user no avatar
Name: Steve
21.10.2011
Posts: 4
Quote
Aw: Currency Symbol customisation

I was also trying to figure out the AUD "$" with config/settings.
I couldn't see how to do it.

So I added code to components/com_jshopping/lib/functions.php
In function 'formatprice' I added a line to add the "$":

if (!$currency_code) $currency_code = $jshopConfig->currency_code;
if ($currency_code=="AUD") $currency_code .= " $";

That seemed to do the trick.

You can change the "AUD" to whatever you set your currency code as, and what ever currency symbol you want.
I guess you could add more if's/cases if you use more than one currency.

Hope that helps anyone else with this problem.


Joomla: 1.7.0
JoomShopping: 3.2.7

Letzte Änderung: 26.10.2011 05:11
 
14.09.2015 20:57
#6
cgazuara
Joomshopping forum user no avatar
Name: Constantino
05.11.2013
Posts: 1
Quote
Aw: Currency Symbol customisation

Use

$return = '$'.$return

before

return $return;


Letzte Änderung: 14.09.2015 20:58
 
Copyrights MAXXmarketing GmbH. All Rights Reserved