- Posts: 54
- Thank you received: 0
How to show PRICE VAT INCLUDED in mod vmscroller
-
corber64
Inactive member -
Topic Author
- Member
-
Less
More
10 years 11 months 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.
-
corber64
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 54
- Thank you received: 0
10 years 11 months 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 -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months 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.
-
corber64
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 54
- Thank you received: 0
10 years 11 months 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.
-
corber64
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 54
- Thank you received: 0
10 years 11 months ago - 10 years 11 months ago #38737
by corber64
Replied by corber64 on topic How to show PRICE VAT INCLUDED in mod vmscroller
I made the change but it doesn't work ...
The prices are the same as before
The prices are the same as before
Last edit: 10 years 11 months ago by corber64.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 11 months 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.088 seconds