Linelabox Support

Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.

vm2_cart plugin

i'm using the plugin in my website.
Now i need to display prices whitout tax.
to do this I edited the vm2_cart.php file by adding the following code in function prepareAjaxData():
$data->products[$i]['pricesWithoutTax'] = $currency->priceDisplay($product->allPrices[$product->selectedPrice]['priceWithoutTax']); 

and in my override default.php i add this:
<?php echo $product["pricesWithoutTax"]; ?>

It works only if i refresh page, but it doesn't work in Ajax.

How can i fix it?
thank you
Responses (0)
  • There are no replies here yet.
Your Reply

VirtueMart Admin Theme


Responsive VirtueMart 3 Administrator Template


New Joomla! 3 Template


Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo

Recent Discussions

Can Ultimelab 2 theme cause that after the purchase, neither I nor the visitor c...
6 days ago 0
I search a solution for: Display the manufacturer logo on the product details...
1 week ago 0
Hi, Please can you assist with one field i need to use. (&amp;lt;g:google...
1 week ago 1
Hello, It looks like that the content is out of proportion. Position 7/8 i...
1 week ago 1

Who's Online

We have 356 guests and no members online is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Copyright © 2014 - Joomla! 3 / VirtueMart 3 Templates. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License. All other marks are the property of their respective owners.