How to show PRICE VAT INCLUDED in mod vmscroller

  • corber64
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 11 months ago #38699 by corber64
Hi,
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
  • Member
More
9 years 11 months ago #38702 by corber64
toc toc ... is there anyone? ;)

Please Log in to join the conversation.

More
9 years 11 months ago #38715 by ivan.milic
Open:

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
  • Member
More
9 years 11 months ago #38725 by corber64
OK, thanks ...
I'll try

Bye

Please Log in to join the conversation.

  • corber64
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 11 months ago - 9 years 11 months ago #38737 by corber64
I made the change but it doesn't work ...
The prices are the same as before
Last edit: 9 years 11 months ago by corber64.

Please Log in to join the conversation.

More
9 years 11 months ago #38746 by ivan.milic
Not all code appeared correctly because of bracers:
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.302 seconds
Powered by Kunena Forum