Author Topic: Visible discount / bargain prices  (Read 13819 times)

Clay-D

  • Beginner
  • *
  • Posts: 9
Visible discount / bargain prices
« on: February 03, 2014, 07:35:37 am »
hi there,
I would like to know how I can display a products old and new price visibly?
For example a product was $25 before and now it's $10, I would like to show the old price crossed out.

Before: $25
Now: $10

Something like that.

Anyone?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Visible discount / bargain prices
« Reply #1 on: February 03, 2014, 17:03:35 pm »
The default VirtueMart 2.0.26d productdetails price display template is set to use a strikethrough on the basePriceWithTax figure.

Make your tax rule first for Tax/VAT per product - if you do not charge sales tax then make the value of that tax 0.0000    This ensures that the basePriceWithTax will be displayed as long as it is set in Config/Pricing.

Then for each discounted product use a price override, set to Overwrite final.  Test! Then in Config/Pricing untick those prices you don't want to display.

Finally use language overrides to change the price descriptions on the page - http://forum.virtuemart.net/index.php?topic=113895.0

If you want to change the colour of the strikethrough use css.

The attachment shows what you get.

[attachment cleanup by admin]
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

Clay-D

  • Beginner
  • *
  • Posts: 9
Re: Visible discount / bargain prices
« Reply #2 on: February 06, 2014, 23:14:12 pm »
hey jenkinhill,
thanks for your help.

I see what you mean. But I am not there yet.
I have filled in all the fields. Which is the one that fills in the basePriceWithTax field? (See my attachment. )



[attachment cleanup by admin]

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Visible discount / bargain prices
« Reply #3 on: February 06, 2014, 23:31:41 pm »
It is "Baseprice with Tax, but without discounts"  You need only that one and "Final salesprice" turned on.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

Clay-D

  • Beginner
  • *
  • Posts: 9
Re: Visible discount / bargain prices
« Reply #4 on: February 07, 2014, 00:41:50 am »
aha!!! Got it working now!!!! thanks :D

hoknight

  • Jr. Member
  • **
  • Posts: 54
Re: Visible discount / bargain prices
« Reply #5 on: February 12, 2014, 09:20:52 am »
It is "Baseprice with Tax, but without discounts"  You need only that one and "Final salesprice" turned on.

Finally, the Baseprice display on the page.However,how to display the sale price only on the product detail page,when the product without discount?

Thanks.

[attachment cleanup by admin]

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Visible discount / bargain prices
« Reply #6 on: February 15, 2014, 18:57:44 pm »
Slight variation, I make a category called discount, and make a calculation rule at eg -20% discount and assign it to that new category.
Then for each product that is discounted I assign them to the discount category as well as their normal category. Then the discount shows only for those products.

See pic, the hammer is assigned to the discount category as well as hand tools.


[attachment cleanup by admin]
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

hoknight

  • Jr. Member
  • **
  • Posts: 54
Re: Visible discount / bargain prices
« Reply #7 on: February 17, 2014, 04:03:14 am »
Slight variation, I make a category called disount, and make a calculation rule at eg -20% discount and assign it to that new category.
Then for each product that is discounted I assign them to the discount category as well as their normal category. Then the discount shows only for those products.

See pic, the hammer is assigned to the discount category as well as hand tools.


On my case,we have assigned difference discount(-%) on all all categories for several shopper groups.Once our buyer logged-in to our site,it can be showing the base-price and sale price on product detail page right now.(https://www.dropbox.com/s/ix37xxmbv39s1v1/ScreenShot289.jpg)

Since we don't have any discount for guest.
Can you tell me how to:
1. display the both base-price and discount price on category page too,when the buyer logged-in from difference group.(https://www.dropbox.com/s/1ty1jr1h3wme7ns/ScreenShot288.jpg)

2. display the sale-price only(hide the base-price) on product detail page for guest on all categories.(product detail page:https://www.dropbox.com/s/z8y82ktuwb5g6ik/ScreenShot291.jpg)
This is base-price display only for Guest on category page.(https://www.dropbox.com/s/adhpin32nf4e599/ScreenShot290.jpg)

Tax & Calculation Rule configuration for a shopper group: https://www.dropbox.com/s/0datt6ysbt9950a/ScreenShot293.jpg
Shopper group configuration: https://www.dropbox.com/s/66fvy94s5dq4rgj/ScreenShot292.jpg

Thanks.




AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3510
  • VirtueMart Version: 3.8.9
Re: Visible discount / bargain prices
« Reply #8 on: February 17, 2014, 17:31:50 pm »
Assigning a product to a new category to get a discount seems a great way to lose that lovely ranking it might have once had!?
Regards
A

Joomla 3.9.27
php 7.4

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Visible discount / bargain prices
« Reply #9 on: February 21, 2014, 17:40:11 pm »
It is still in the normal category as well as discount......
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3510
  • VirtueMart Version: 3.8.9
Re: Visible discount / bargain prices
« Reply #10 on: February 21, 2014, 23:03:42 pm »
Jenkin, so the product is applied to an additional non published category?
Regards
A

Joomla 3.9.27
php 7.4

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Visible discount / bargain prices
« Reply #11 on: February 21, 2014, 23:55:18 pm »
The extra cat does not need to be published to show the sale price. OTOH if it is published then it can provide a menu link to all discounted items.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3510
  • VirtueMart Version: 3.8.9
Re: Visible discount / bargain prices
« Reply #12 on: February 22, 2014, 12:20:05 pm »
Yep, thanks.

I now see how it can function
Regards
A

Joomla 3.9.27
php 7.4

Renata

  • Jr. Member
  • **
  • Posts: 114
Re: Visible discount / bargain prices
« Reply #13 on: May 22, 2014, 13:06:04 pm »
Thank You! this was for me the solution!

Kind regards
Renata
The default VirtueMart 2.0.26d productdetails price display template is set to use a strikethrough on the basePriceWithTax figure.

Make your tax rule first for Tax/VAT per product - if you do not charge sales tax then make the value of that tax 0.0000    This ensures that the basePriceWithTax will be displayed as long as it is set in Config/Pricing.

Then for each discounted product use a price override, set to Overwrite final.  Test! Then in Config/Pricing untick those prices you don't want to display.

Finally use language overrides to change the price descriptions on the page - http://forum.virtuemart.net/index.php?topic=113895.0

The attachment shows what you get.
Please visit my website http://www.1place4ads.nl for all you graphic webdesign and joomla websites.

MalikaS

  • Beginner
  • *
  • Posts: 1
Re: Visible discount / bargain prices
« Reply #14 on: July 31, 2014, 14:27:19 pm »
Is there any way to work with override prices and prevent virtuemart to show double prices.

I am using virtuemart VirtueMart 2.6.6
and latest joomla 2.5,

and I applied this solution http://forum.virtuemart.net/index.php?topic=124002.0 and it helps when you dont want all product prices to be crossed.
But I want to show prices in this way:

Old price
New price (price override)

For the rest of the items, it should show ONLY old price.
But now it is showing 
Baseprice with Tax, but without discounts          
Final salesprice
and then when you dont have overide, it is showing double prices...I was SEARCHING THE FORUM BUT without any clue how to achieve this.

Thanx