News:

Support the VirtueMart project and become a member

Main Menu

Showing the total price with tax only in the shopping cart

Started by tebah89, February 28, 2019, 04:27:59 AM

Previous topic - Next topic

tebah89

Hi,

Is it possible to show the price without tax for an item in the catalog and showing the total price with tax only in the shopping cart.
If I check "Final sale price" in the configuration, the price is showing at both place.

Thanks for your help

GJC Web Design

adjust (and over ride) the sublayouts prices.php to show what ever u want on the products
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

tebah89

Hi,
Are you sure the prices.php file only impacts the catalog (product list and product page) and does not change anything in the shopping cart?

For example, I need this following setting :

catalog price showed (product list and product page)
2 695,00$ (without TVA)

In the shopping cart
2 695,00$ (subtotal)
403.71 $ (TVA)
3 098.71 $ (TTC)

I upgrade a website from Joomla 2.x to 3.x and this setting works on VirtueMart v.1.1.3 and I can't do the same thing in VirtueMart v.3.4.2

GJC Web Design

100% certain .. u can of course copy/rename - use different prices.php in details, cats, mosules  -- has nothing to do with cart -- purely display
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

tebah89


tebah89

Nothing happens, even if I rename the file at prices2.php
Is this the file at component/com_virtuemart/sublayout/prices.php ?

stensbo

Hello,

http://docs.virtuemart.net/tutorials/templating-layouts/199-sublayouts.html

The sublayouts are stored in the FE folder /component/com_virtuemart/sublayouts. You can add your own sublayouts into the core folder, or add/override them via template using /templates/yourtemplate/html/com_virtuemart/sublayouts

It is possible that your prices.php  is overridden in your template .. /templates/yourtemplate/html/com_virtuemart/sublayouts

tebah89


tebah89

It's exactly that.
I found an another prices.php in my jdboston template.

Thank you very much.

Case closed

framos41

Hello! did you work that out? need the same thing if dou did can you please share how did you accomplished it? looking forward to your comments regards!