VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: despina on January 23, 2019, 12:19:59 PM

Title: How to display the Baseprice with tax in Category view?
Post by: despina on January 23, 2019, 12:19:59 PM
Good evening,

[Joomla! 3.6.5 / VirtueMart 3.0.16]

I have been looking for two days here and I can not find an answer to my question.
I have made an online store (eshop) in which the prices of the products in the category view appear without VAT and when you go to the product page, the final price is normally displayed!
What should I do to show the final price everywhere?
The price should not be shown without VAT.
Please if a solution has already been found send me the link!
Title: Re: How to display the Baseprice with tax in Category view?
Post by: GJC Web Design on January 23, 2019, 12:28:28 PM
!!!   [Joomla! 3.6.5 / VirtueMart 3.0.16]

first upgrade with all the normal caution and then see if the problem remains...

probably a template problem
Title: Re: How to display the Baseprice with tax in Category view?
Post by: jenkinhill on January 23, 2019, 13:24:49 PM
Once you have updated Joomla & VirtueMart, to display only the final price, in the backend go to the VM Configuration/Pricing tab in the Show Following Prices set  Final salesprice to be the only price to display.  If it does not now show on the front end, if you are not using a default Joomla template (Protostar or Beez) then check your template overrides. These will be in Joomla root/templates/[your-joomla-template]/html/com_virtuemart/sublayouts/  look for prices.php and check that the constant COM_VIRTUEMART_PRODUCT_SALESPRICE is there and set to display (and also check related.php). If necessary edit these files to fix the display.
Title: Re: How to display the Baseprice with tax in Category view?
Post by: despina on January 24, 2019, 14:53:38 PM
Thank you for your reply!
I did update virtuemart and joomla, but the problem still exists. Probably it's the template.
Can you be more specific about the changes I have to make to my template files?
I'm not a developer, so I do not know much about coding
Title: Re: How to display the Baseprice with tax in Category view?
Post by: jenkinhill on January 24, 2019, 15:19:22 PM
You have not provided a URL or even said what template you are using.

To check if you have a price override luse ftp to look for Joomla root/templates/[your-joomla-template]/html/com_virtuemart/sublayouts/prices.php
If present then compare it with the standard price template at Joomla root  /components/com_virtuemart/sublayouts/prices.php
Title: Re: How to display the Baseprice with tax in Category view?
Post by: despina on January 25, 2019, 08:36:56 AM
Sorry for the omission, the template I've used is "vina rudo".
The site I'm trying to fix is ​​on a local network so I did not provide the url.
The site without upgrading is online but I'm afraid to make my corrections there so I will not drop it.
I'm trying to fix the errors first and then then make the updates at the online site.
That's because I saw that some items are incompatible with the new version of joomla.

This is the link: http://50ways.com.gr/joras/index.php/el/
Title: Re: How to display the Baseprice with tax in Category view?
Post by: jenkinhill on January 25, 2019, 10:57:30 AM
The  site you link do DOES show the salesprice in category and productdetal views.


<div class="product-price">
<div class="PricesalesPrice vm-display vm-price-value" ><span class="PricesalesPrice" >59,99 €</span></div> </div>
Title: Re: How to display the Baseprice with tax in Category view?
Post by: despina on January 25, 2019, 12:37:43 PM
If you look at the product page you will see the final price

http://50ways.com.gr/joras/index.php/el/products/cargo-11221-detail

but if you look at the product category page, the value is not displayed at all

http://50ways.com.gr/joras/index.php/el/products

I followed your instructions and from the Configuration --> Pricing I have ONLY selected the "Final salesprice"
Title: Re: How to display the Baseprice with tax in Category view?
Post by: jenkinhill on January 25, 2019, 13:37:35 PM
I looked at http://50ways.com.gr/joras/index.php/el/products/cargo-anthraki-28-11221-016-001-detail and what I thought was the category view.

But the example urls you now give shows that the template overrides need fixing, starting with Joomla root/templates/[your-joomla-template]/html/com_virtuemart/category/default.php

The template possibly needs updating as it must be old, it includes fixes for IE 7 users - IE7 was release in 2006!
Title: Re: How to display the Baseprice with tax in Category view?
Post by: despina on January 25, 2019, 13:49:00 PM
I did not know that.
I'll try to contact support from the template to see if they can fix it. Thank you very much for the time you devoted to me!  :)