Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Fancy Product Slider (SKU# FLEX-00004)

TOPIC: Price in the slider includes tax - changeable?

Price in the slider includes tax - changeable? 11 years 2 months ago #3448

Hi,

Great slider overall. Just a couple of things:

I need to show the price of the product excl. tax in the slider. currently it's the price including tax. It would be nice if there were an option for this, however since there isn't one, please can you point me in the right direction as to which file & line code I need to modify and with what in order to do this. I'm a web developer, so I'm not afraid of making the change manually if I must, with your guidance.

Also, just as another feature request worth mentioning is that it would be nice if you could filter by more than 1 category, which is currently not the case.

Thanks,
Ruggero
Last Edit: 11 years 2 months ago by Ruggero Sandri-Boriani.
The topic has been locked.

Price in the slider includes tax - changeable? 11 years 2 months ago #3452

Hi,

it's around modules/mod_vm_flexible_fancy_slider/tmpl/theme.php line 99

think the price you want is commented out at 110
 
 
//echo $this->currency->createPriceDiv('priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $product->prices);
 

this is much the same code as the std VM prices template - so have a play there..

Cheers
The topic has been locked.

Price in the slider includes tax - changeable? 11 years 2 months ago #3453

Sorry, should've mentioned it's VM 2.0

What are the relevant file path / line codes and changes in this case? Obviously it looks very different.

Thanks for the quick response!
The topic has been locked.

Price in the slider includes tax - changeable? 11 years 2 months ago #3456

Nevermind found it. For those of you who want to do this:

modules/mod_vm_flexible_slider/tmpl line 83:

Replace:
echo "<div class=\"flexible_price\">". $currency->createPriceDiv('salesPrice','',$product->prices,true) ."</div>";
With:
echo "<div class=\"flexible_price\">". $currency->createPriceDiv('priceWithoutTax','',$product->prices,true) ."</div>";

Standard VM prices object from what I can tell, so any product price variant is available.
The topic has been locked.

Price in the slider includes tax - changeable? 11 years 2 months ago #3460

topic closed -
cheers
The topic has been locked.
Time to create page: 0.169 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo