News:

Support the VirtueMart project and become a member

Main Menu

Sales Price and discounted price

Started by eddie1201, April 30, 2020, 17:24:32 PM

Previous topic - Next topic

eddie1201

Hi,

I am running:

Joomla 3.9.18
VP 3.6.10
PHP 7.4

I have gone through the forum and also followed the process from 3 vidoes.

I configured an overide rule.
I applied the overide rule against Final Price in my product
But what I woluld like is to see the strike through price and the discounted price - see attachments

But I dont see that on my site - I only see one price.

I will keep on chekcing but any steer or guideline or ref links much appreciated. 

This is the last hurdle before we go live

Eddie


AH

#1
Looks like you are using a non base template to show details.
Try:

"Baseprice with Tax, but without discounts"

If that does not work then look further below:

See the file components\com_virtuemart\sublayouts\prices.php or look in your override to compare

You can create the display you require in any overrides


Then try to see what the product looks like on the base protostar without any template overrides

When you have the default base template and vm template working then look here:

http://docs.virtuemart.net/manual/configuration-menu/configuration.html#pricing

If the pricing does not display as you require:

Then follow the guideline:

"Price elements

The are many prices that VirtueMart can show.  The best way to understand the options is to test in a non-live store."



Regards
A

Joomla 3.10.11
php 8.0

eddie1201

Thank you for information.

I will work through it.

Just set the template default in the backend to Protostar and what i get is in the attachment.

I will follow the other steps later today.

Eddie

AH

did you enable


"Baseprice with Tax, but without discounts"

It might be just this setting in price configuration - before you bother setting the default template? 
Regards
A

Joomla 3.10.11
php 8.0

eddie1201

Hi,

Yes I did enable.

Thank you for the suggestions, I will start working through them.

Eddie

eddie1201

Hi,

Tried the suggestions, but no success.

As I am using a Joomlart template, could the issues be witin my template itself - I dont know how it fits all together between joomla and VM

Might have to go back to the template developers  :-(

Eddie

AH

check to see if they are overriding the prices display

template/html/com-virtuemart/sublayouts
Regards
A

Joomla 3.10.11
php 8.0

eddie1201

Thank you for that information.

I will speak to the deveopers of the template.

Thanks

Eddie

eddie1201

Hi,

Just an update.  It did not work with Protostar either  :-(

Eddie

Jörgen

Quote from: eddie1201 on April 30, 2020, 18:41:50 PM
Thank you for information.

I will work through it.

Just set the template default in the backend to Protostar and what i get is in the attachment.

I will follow the other steps later today.

Eddie

Sorry Eddie, but this message is from the Joomlart template, I still think this problem  is a mix of Joomlart issue and perhaps trying to show the wrong prices. But this is not a Protostar page, belongs clearly to Your Joomlart template.

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

AH

Eddie

"Baseprice with Tax, but without discounts"

Did that change any display of the product prices in protostar

Show your config

If this does not give you what you want you can always custom override the prices display - but I would not think that was necessary
Regards
A

Joomla 3.10.11
php 8.0

eddie1201

#11
Hi,

Thanks for coming back to me.

I have 3 images, one as it appears in Protostar, one in my template and one of the pricing settings.

Anything else I need to add to the forum that might highlight where Im going wrong.

----------------------------------------------
Response from the template developers also stated its in VM now:

You can see how the price displays by us testing it with default Joomla template like Protostar. For example, I just assigned Protostar to the 'Safety Equipment' menu item and the price looks the same as in our template

----------------------------------------------

Thanks for all the help

Eddie

Jörgen

I the same as Andrew pointed out : "Base price with tax but without discount" it should get the CSS class "price crossed"

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

check your source code to see if any classes are applied..

quite possible you have no css for the applied class
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

eddie1201

Hi Jörgen,

Tried the suggestion and that did not work.

Andrew,  talking about the css does not mean much to me and the class.

Where should I be looking?

Eddie