News:

Looking for documentation? Take a look on our wiki

Main Menu

How to display the Baseprice with tax in Category view?

Started by despina, January 23, 2019, 12:19:59 PM

Previous topic - Next topic

despina

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!

GJC Web Design

!!!   [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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

despina

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

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

despina

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/

jenkinhill

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>
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

despina

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"

jenkinhill

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!
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

despina

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!  :)