commerce icon indicating copy to clipboard operation
commerce copied to clipboard

[4.x]: Applying Multiple Discount Vouchers Simultaneously

Open ax2000 opened this issue 8 months ago • 1 comments

What happened?

Description

I have a question regarding the functionality of discount vouchers.

Currently, as I understand it, Craft Commerce allows only one discount voucher to be applied per order. This behavior seems consistent in both Craft Commerce 4 and Craft Commerce 5. However, my client has a requirement where multiple discount vouchers should be applicable to a single order simultaneously (E.g. Percentage of Products and Free Shipping)

My questions are:

  • Is there any native support for applying multiple discount vouchers simultaneously in Craft Commerce 4 or 5?
  • If not, are there any recommended approaches or best practices for implementing this functionality?

I have considered creating a custom module to handle multiple discounts, but I wanted to check if there are any built-in solutions or upcoming features that might address this need before proceeding with a custom implementation.

I am currently using Craft CMS with Craft Commerce (version details below). Any guidance or recommendations you can provide would be greatly appreciated.

Cheers, Alby

Craft CMS version

Craft Pro 4.9.7

Craft Commerce version

Craft Commerce 4.6.2

PHP version

8.2.18

Operating system and version

Linux 6.6.26-linuxkit

Database type and version

MariaDB 10.2.44

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

ax2000 avatar Jun 11 '24 05:06 ax2000