Post by johnzhang » Wed Jun 01, 2011 4:37 pm

<?php echo $price; ?> On the product.tpl file

How to get the price value without Currency? On the product.tpl file,
I need the price value not include the Currency

Hope someone help me to get this,
Thanks.

China Buy Dropship Buy From China Ebay Taobao


New member

Posts

Joined
Sun Apr 18, 2010 11:02 am


Post by rupaknepali » Wed Jun 01, 2011 10:20 pm

if (($symbol_left) && ($format)) {
$string .= $symbol_left;
}
============
find the above and comment in system/library/currency.php

By this your currency sign remove.

Hope that this will help u although we are not recommended to edit in the library files.

Thanking You
Rupak Nepali

Rupak Nepali
webocreation.com@gmail.com
http://webocreation.com
Enjoy! Tips and tricks as well as free module.


Active Member

Posts

Joined
Mon Apr 25, 2011 7:04 pm

Post by johnzhang » Thu Jun 02, 2011 7:57 am

Thanks For Reply,
Is there anyway to use the

Model -   View -   Controller -   Language -

define the price in which file ? then I can use on the product.tpl

New member

Posts

Joined
Sun Apr 18, 2010 11:02 am


Post by johnzhang » Thu Jun 02, 2011 10:04 am

Can Define a NOCurrencyPrice on the catalog/controller/Product/product.php
and then i can use <?php echo $NOCurrencyPrice; ?> On the product.tpl file
on the product.tpl

how to do this ?

New member

Posts

Joined
Sun Apr 18, 2010 11:02 am


Post by johnzhang » Wed May 30, 2012 4:49 pm

delet this

if (($symbol_left) && ($format)) {
$string .= $symbol_left;
}
============
then all price no symbol ,it is also not good,the best one is can define a new name but i don't know how

China Buy Dropship Buy From China Ebay Taobao


New member

Posts

Joined
Sun Apr 18, 2010 11:02 am

Who is online

Users browsing this forum: No registered users and 12 guests