- Posts: 54
- Thank you received: 0
How to show PRICE VAT INCLUDED in mod vmscroller
12 years 2 days ago #38699
by corber64
How to show PRICE VAT INCLUDED in mod vmscroller was created by corber64
Hi,
mod vmscroller shows prices without taxes, but I would like to show prices VAT included.
What I have to do ?
Thanks
mod vmscroller shows prices without taxes, but I would like to show prices VAT included.
What I have to do ?
Thanks
Please Log in to join the conversation.
12 years 2 days ago #38702
by corber64
Replied by corber64 on topic How to show PRICE VAT INCLUDED in mod vmscroller
toc toc ... is there anyone?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Offline
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 days ago #38715
by ivan.milic
Replied by ivan.milic on topic How to show PRICE VAT INCLUDED in mod vmscroller
Open:
modules\mod_vmscroller\helper.php
find this (~line 410):
//$price = $pr->prices;
change it to:
$price = $pr->prices;
modules\mod_vmscroller\helper.php
find this (~line 410):
//$price = $pr->prices;
change it to:
$price = $pr->prices;
Please Log in to join the conversation.
12 years 2 days ago #38725
by corber64
Replied by corber64 on topic How to show PRICE VAT INCLUDED in mod vmscroller
OK, thanks ...
I'll try
Bye
I'll try
Bye
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Offline
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 day ago #38746
by ivan.milic
Replied by ivan.milic on topic How to show PRICE VAT INCLUDED in mod vmscroller
Not all code appeared correctly because of bracers:
to
if that price is still not one you need, tupe in:
then browse your site you will see bunch of ugly code but you will be able to notice correct index of price you want, then:
Code:
//$price = $pr->prices['salesPrice'];
$price = '<div class="productPrice">'.$price_object->pricetext.'</div>';
to
Code:
$price = $pr->prices['salesPrice'];
//$price = '<div class="productPrice">'.$price_object->pricetext.'</div>';
if that price is still not one you need, tupe in:
Code:
$price = $pr->prices['salesPrice'];
//$price = '<div class="productPrice">'.$price_object->pricetext.'</div>';
var_dump($price);
then browse your site you will see bunch of ugly code but you will be able to notice correct index of price you want, then:
Code:
$price = $pr->prices['<index you want>'];
//$price = '<div class="productPrice">'.$price_object->pricetext.'</div>';
Please Log in to join the conversation.
Time to create page: 0.108 seconds