VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: tobitobi64 on April 24, 2014, 14:17:42 PM

Title: prices do not appear correctly
Post by: tobitobi64 on April 24, 2014, 14:17:42 PM
Hello everyone, I tried searching the forum but could not find what I needed.

I have a problem with the display of products, I set a value to products and configured the rules of calculation of VAT, and so far so good ...

when a product the public on the "Showcase" I displays the total price of VAT (which is correct), but if I enter into the detail of the product I shows all possible prices except the Final Price!

[attachment cleanup by admin]
Title: Re: prices do not appear correctly
Post by: jenkinhill on April 24, 2014, 23:37:12 PM
Looks like the commercial template overrides you are using do not have the correct code in showprices.php to show the final selling price, COM_VIRTUEMART_PRODUCT_SALESPRICE.
Title: Re: prices do not appear correctly
Post by: tobitobi64 on April 30, 2014, 16:23:51 PM
Quote from: jenkinhill on April 24, 2014, 23:37:12 PM
Looks like the commercial template overrides you are using do not have the correct code in showprices.php to show the final selling price, COM_VIRTUEMART_PRODUCT_SALESPRICE.

I tried to see if there was any error in the code but everything is correct by comparing it to the original file:
This line generates the display of the price?:

echo $ this-> currency-> createPriceDiv ('salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $ product-> prices);
Title: Re: prices do not appear correctly
Post by: jenkinhill on April 30, 2014, 16:43:41 PM
To rule out problems with your template & overrides try switching to Beez template and see if the price displayes there.
Title: Re: prices do not appear correctly
Post by: tobitobi64 on April 30, 2014, 17:46:40 PM
Quote from: jenkinhill on April 30, 2014, 16:43:41 PM
To rule out problems with your template & overrides try switching to Beez template and see if the price displayes there.

Unfortunately, in my joomla template that is no longer integrated beez5, however I used the original file so there may be problems
Title: Re: prices do not appear correctly
Post by: tobitobi64 on April 30, 2014, 21:22:10 PM
Quote from: tobitobi64 on April 30, 2014, 17:46:40 PM
Quote from: jenkinhill on April 30, 2014, 16:43:41 PM
To rule out problems with your template & overrides try switching to Beez template and see if the price displayes there.

Unfortunately, in my joomla template that is no longer integrated beez5, however I used the original file so there may be problems


I do not know how I can fix this situation:
I updated virtuemart, there is no custom code, it should work

But I realized that if I edit the file in views / Productdetails / default_showprices.php and I try to add a class for example "Test" then becomes the "<div class =" product-price "id =" productPrice "to" <div class = "product-price test" id = "productPrice"

if I clean the browser cache and riaggiorno do not see the change "test".
so I'm thinking it might be who do not take this as a source default_showprices.php?