VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: nhanamnguyenngoc on March 27, 2012, 03:08:44 AM

Title: Help about cart: How to remove double 0 after decimal symbol in cart?
Post by: nhanamnguyenngoc on March 27, 2012, 03:08:44 AM
Hi all,

   Could you please help me to remove 2 zero after decimal symbol in cart view? Thank for all your helps and times.

With best regards,

N4

[attachment cleanup by admin]
Title: Re: Help about cart: How to remove double 0 after decimal symbol in cart?
Post by: rupesh on March 27, 2012, 08:51:09 AM
hiii

Plz use this to display your product price  as you eant in that format using

number_format($pr->product_price, 2, '.', ' ')

thanks
Title: Re: Help about cart: How to remove double 0 after decimal symbol in cart?
Post by: nhanamnguyenngoc on March 27, 2012, 10:07:45 AM
Thank for your helps. But could you please give me the path to edit the file which contains a code you mention above?

Thanks
Title: Re: Help about cart: How to remove double 0 after decimal symbol in cart?
Post by: Lorrein on March 27, 2012, 21:58:11 PM
Log intothe administrator
got to VM/configuration and select TAB pricing. There you can select howmany decimals you want.
Title: Re: Help about cart: How to remove double 0 after decimal symbol in cart?
Post by: nhanamnguyenngoc on March 28, 2012, 00:52:00 AM
 :) I tried many times in Tab Pricing....But it cannot change in cart view. Thank for your reply. But i guess i need another helps...

Best regards.

N4
Title: Re: Help about cart: How to remove double 0 after decimal symbol in cart?
Post by: shenlong2210 on May 15, 2013, 17:11:08 PM
check in
http://forum.virtuemart.net/index.php?topic=100557.0