News:

Looking for documentation? Take a look on our wiki

Main Menu

Double prices in category view even when there is no override price

Started by djlian, June 20, 2016, 09:31:38 AM

Previous topic - Next topic

djlian

Hello.

I'm using Joomla 3.5.1 and VirtueMart 3.0.16 (update via Joomla).

The template is MegaDeal 2 by Joomshaper, but the problem is also available in Beez 3 and in other templates.

In category view next to final price I have the same value crossed even when I haven't used the override function.

Please see the attached file.

Can you help me to fix it?

Best regards
Sasho

jenkinhill

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


GJC Web Design

from memory the logic in sublayout prices.php to show a discount isn't correct if u have no taxes applied to the products

You need to adjust the logic to get what u want.. 
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

A quick "fix" for the Joomshaper template is to hide the cost price in the display with css:
.PricecostPrice { display:none; }

Alternatively set up a tax rate of zero & apply to the products should work
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

djlian

I have already set up zero tax rate and nothing happened.

I will try with the css

Edit: The css hack is not working on men... :(

jenkinhill

Just tested - adding  .PricecostPrice { display:none; } to the end of   vm-ltr-site.css does work.
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

djlian

Thanks. It really works, i was using the wrong css.

But unfortunately it hides all prices, including the ones with discounts. For now I will use it, but I'm trying to contact with joomshaper to see how to fix the problem.

Best regards,

Sasho

Quote from: jenkinhill on June 20, 2016, 15:10:06 PM
Just tested - adding  .PricecostPrice { display:none; } to the end of   vm-ltr-site.css does work.

jenkinhill

Then be more specific

eg something like  .PricecostPrice vm-display vm-price-value { display:none; }

Learn to use Firebug for css issues.  http://forum.virtuemart.net/index.php?topic=116620.0
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