| Characteristics | |
| OpenCart | 3.0 |
| PHP | 7.0 – 8.5 |
| XML modification | Yes |
| Localization | English, Ukrainian, Russian |
| Statistics | 2391 72 |
| Added | 12.05.2025 |
| Updated | 12.05.2025 · 1 years ago |
| Files | option-discount_oc3x.ocmod.zip |
The "Discount for Product Options" module helps you set promotional prices not for the entire product, but for specific options (for example, a specific color, size, or configuration). This is especially convenient when you only need a promotion for a portion of the product range within a single product page.
Imagine a store where the same product is sold in different variations. You want, say, the "Red" variant to be cheaper during a sale, and the "Blue" variant to remain at the regular price. The module allows you to assign such special prices to options and additionally take into account customer groups and expiration dates.
Important: promotional logic is applied based on time (date_start / date_end) and priority, so you can flexibly manage your promotions without disrupting the product structure.
The module stores promotion data in a separate table and displays the current price for the selected option in the storefront. If the promotion is active, the special price is used instead of the regular price. The selection order is determined: priority is taken into account first, followed by price.
In addition, the module adjusts the price display: the buyer is shown the “before” and “after” prices (the regular price can be displayed crossed out, and the new price highlighted).
Example 1: One size sale.
Open a product, edit options, and add a special price for the option value, such as "Size S." Set the start and end dates, and the price will be valid only during the specified period.
Example 2: different prices for wholesale.
For the "Basic Package" option, set a special price for the "Wholesale" group, and leave the regular price for retail. This way, the promo will only be visible to eligible customers.
Example 3: Several competing promotions.
If different special prices apply to a single option (for example, for different rules), use priority. The module will select the appropriate entry based on the specified order.
| File Name | Added | Modified |
|---|---|---|
option-discount_oc3x.ocmod.zip Size: 25.2 KB | 12.05.2025 | 12.05.2025 |
Leave your review about this product