VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: danielmoh on August 09, 2012, 15:15:21 PM

Title: priceWithoutTax and salesPrice if
Post by: danielmoh on August 09, 2012, 15:15:21 PM
Hi!

How can i show at product detail page the "priceWithoutTax" only if the "salesPrice" is different ??

Please, help me =]

Thanks!
Title: Re: priceWithoutTax and salesPrice if
Post by: bytelord on August 09, 2012, 16:54:04 PM
Hello,


What do you mean by "only if sales price is different", different according to what?
Title: Re: priceWithoutTax and salesPrice if
Post by: danielmoh on August 09, 2012, 17:17:46 PM
Exemplo:

priceWithoutTax = 20,00
salesPrice   = 20,00

show only "salesPrice" in product page


priceWithoutTax = 20,00
salesPrice   = 15,00

show "priceWithoutTax" and "salesPrice" in product page.


Sorry for the english.. but in my country we dont have price with tax.. oly discount price, and the virtuemart show the same price when the product dont have discount...
Title: Re: priceWithoutTax and salesPrice if
Post by: bytelord on August 09, 2012, 17:31:08 PM
Hello,


Why then you don't disable price whithout tax not to show and only show sales price and discount price?


You can configure that from the Backend under Configuration - > Pricing -> Show following Prices




[attachment cleanup by admin]
Title: Re: priceWithoutTax and salesPrice if
Post by: danielmoh on August 09, 2012, 18:34:59 PM
Thanks for the awnser.. because in my country is commom show the original price and the discount final price...

any idea?
Title: Re: priceWithoutTax and salesPrice if
Post by: bytelord on August 09, 2012, 19:01:01 PM
you can enable to show only final salesprice and basepricewithtax but without discounts
Title: Re: priceWithoutTax and salesPrice if
Post by: danielmoh on August 09, 2012, 19:20:15 PM
dont work .. thanks!