News:

Support the VirtueMart project and become a member

Main Menu

Original and Sales Price showing on products without discounts

Started by iamdasboo, January 22, 2015, 18:18:45 PM

Previous topic - Next topic

iamdasboo

Hi there

I am running Joomla! 2.5 and VirtueMart 2.6.12.2

In order to show original price (with a strikethrough) and new discounted price I have set up my pricing configuration to show both Baseprice with Tax, but without discounts and Final salesprice.

I have created a calculation rule of -10% Price Modifier After Tax to apply a discount. I only wanted the discount to apply to certain categories which I selected in the Product Category section in the discount rule.

Everything is working as it should on the Product details pages:
• Products within the category that is discounted show both the original price (now with a strikethrough) and the newly discounted price
• Products within categories that are not discounted show just the original price

However, on the category layout page, ALL products are showing both prices (Baseprice with Tax, but without discounts AND Final salesprice) regardless of whether they are in a category with a discount applied.

Can any one advise what could be the issue with my category layout page? Any help is much apprecated

Thanks
Laura


idor

Hello,
I have the same problem.
Did you found a solution?

faufau

Hi everybody
I have the same problem here.
All the product on sales category have both, Baseprice with Tax, but without discounts and Final salesprice, this is fine.

But the trouble is that, all the product that are not in the category with discount show the same price twice, one is underlined.

Please need help...

Thanks in advance

Here is the url : http://ma-tete-de-lit.com/index.php/tetes-de-lit

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


jenkinhill

What is the difference in price setup between "Tête de lit MORTAGNE - 160"  and  "Tête de lit FOURAS – 140/160"  - the first only shows one price. (on page http://ma-tete-de-lit.com/index.php/tetes-de-lit )
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

faufau

Hi
Thanks for your reply..

There is no difference  in price setup between "Tête de lit MORTAGNE - 160"  and  "Tête de lit FOURAS – 140/160"
but I don't know why some of the products show two prices with one underlined.

The only category on the website with discount is this one : http://www.ma-tete-de-lit.com/index.php/ma-deco

All the others categories should not show the same price twice.

Need help please (I don't know how to deal with the php code..)

Or could you fix it up for me (let me know in what condition you could do it for me)

Thanks again

GJC Web Design

why are u using VirtueMart 2.6.12.2...  ???

It is unsafe and the latest is http://dev.virtuemart.net/attachments/download/945/com_virtuemart.2.6.18.zip

If this is a bug it could easily be fixed in later versions

if not u need to look around the logic at ~ line 283 in components\com_virtuemart\views\category\tmpl\default.php
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

faufau

Hi

Thanks for your help.

I updated Virtuemart, but I have one problem with two things that cannot be updated :
1.(VirtueMart3 plg_vmcustom_specification Update Site)
2.(VirtueMart plg_vmpayment_realex_hpp_api Update Site)

And I couldn't find the line 283.

There's no change right now.

Need help please

Jörgen

Hello

I could be wrong but I think this comes from a rounding error tha Max fixed some time ago. If You change the price on this page:
http://ma-tete-de-lit.com/index.php/tetes-de-lit for "Tête de lit MORTAGNE - 160"  to the same price as  "Tête de lit FOURAS – 140/160" I Think You will get display of both prices. If no then I am on the wrong track.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

QuoteAnd I couldn't find the line 283.

then your using a cat page over ride?
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

faufau

Yes, it seems to be that.

I don't know how to use Virtuemart extension without template overwrites... I use Prostostar in this website.

Any help will be very welcome, it seems that I need  to test a standard template.

Thanks