News:

Support the VirtueMart project and become a member

Main Menu

priceWithoutTax and salesPrice if

Started by danielmoh, August 09, 2012, 15:15:21 PM

Previous topic - Next topic

danielmoh

Hi!

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

Please, help me =]

Thanks!

bytelord

Hello,


What do you mean by "only if sales price is different", different according to what?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

danielmoh

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...

bytelord

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]
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

danielmoh

Thanks for the awnser.. because in my country is commom show the original price and the discount final price...

any idea?

bytelord

you can enable to show only final salesprice and basepricewithtax but without discounts
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

danielmoh