News:

Support the VirtueMart project and become a member

Main Menu

Apply coupons only to products without override price

Started by Abatap, February 02, 2022, 07:50:51 AM

Previous topic - Next topic

Abatap

Hello, is it possible to configure VM or its individual coupons to "skip" already discounted products (products which have a non-empty override price) in shopper cart when calculating order total?

I know that the coupon settings screen has some filtering options for making a coupon applicable only to certain users, shopper groups, product categories and even individual products but there's no option to make it skip products discounted through manually creating individual price overrides! The problem is that we don't use taxes and calculation rules system to discount products across whole categories and instead we use a more individual approach to discounting products since it's more flexible and suitable for our needs, so the coupon setting screen with its current set of filtering options is still insufficient because manually managing and keeping updated a list of applicable products for more than a dozen of currently active coupons is a very time consuming and human error-prone activity.

Joomla! 3.10.5 & VirtueMart 3.8.8 10472

Jörgen

#1
The override you are talking about is old. This override does not work very well with the tax system and has been on the way to be depracated for some years now. It is only left for legacy reasons and ther will probably not be any work done that tries to update the functionality of the price override.

You probably have to make a plugin to handle this exception.

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

Abatap

#2
Quote from: Jörgen on February 02, 2022, 08:09:46 AM
The override you are talking about is old . . . and has been on the way to be depracated for some years now.

Hmm. So is that taxes and calculations rules system the only recommended way of discounting products nowadays?

Jörgen

Yes that is, AFAIK, correct. The override option dates back to VM1.x and is only kept for legacy reasons. I have not used it for years as it has its quirks.

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

Abatap