Author Topic: Showing the total price with tax only in the shopping cart  (Read 1637 times)

tebah89

  • Beginner
  • *
  • Posts: 6
  • A beginner
  • VirtueMart Version: 3.4.2
Showing the total price with tax only in the shopping cart
« on: February 28, 2019, 04:27:59 am »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9176
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Showing the total price with tax only in the shopping cart
« Reply #1 on: February 28, 2019, 09:41:53 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tebah89

  • Beginner
  • *
  • Posts: 6
  • A beginner
  • VirtueMart Version: 3.4.2
Re: Showing the total price with tax only in the shopping cart
« Reply #2 on: March 06, 2019, 03:47:16 am »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9176
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Showing the total price with tax only in the shopping cart
« Reply #3 on: March 06, 2019, 10:22:40 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tebah89

  • Beginner
  • *
  • Posts: 6
  • A beginner
  • VirtueMart Version: 3.4.2
Re: Showing the total price with tax only in the shopping cart
« Reply #4 on: March 06, 2019, 13:02:05 pm »
Thanks for your help

tebah89

  • Beginner
  • *
  • Posts: 6
  • A beginner
  • VirtueMart Version: 3.4.2
Re: Showing the total price with tax only in the shopping cart
« Reply #5 on: March 07, 2019, 03:11:11 am »
Nothing happens, even if I rename the file at prices2.php
Is this the file at component/com_virtuemart/sublayout/prices.php ?

stensbo

  • Jr. Member
  • **
  • Posts: 87
Re: Showing the total price with tax only in the shopping cart
« Reply #6 on: March 07, 2019, 08:44:35 am »
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

  • Beginner
  • *
  • Posts: 6
  • A beginner
  • VirtueMart Version: 3.4.2
Re: Showing the total price with tax only in the shopping cart
« Reply #7 on: March 07, 2019, 12:34:04 pm »
Ok, I check it

Thanks

tebah89

  • Beginner
  • *
  • Posts: 6
  • A beginner
  • VirtueMart Version: 3.4.2
Re: Showing the total price with tax only in the shopping cart (solved)
« Reply #8 on: March 08, 2019, 22:13:16 pm »
It's exactly that.
I found an another prices.php in my jdboston template.

Thank you very much.

Case closed

framos41

  • Beginner
  • *
  • Posts: 20
Re: Showing the total price with tax only in the shopping cart
« Reply #9 on: July 08, 2019, 19:18:30 pm »
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!