Special Price For Product Options for OpenCart

Special Price For Product Options for OpenCartSpecial Price For Product Options for OpenCart
BonusBonus +49 грн. to your account
Special price:399 грн.
Old price:699 грн.
You save:300 грн.


Characteristics
OpenCart3.0
PHP7.0 – 8.5
XML modificationYes
LocalizationEnglish, Ukrainian, Russian
Statistics 2391 72
Added12.05.2025
Updated12.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.

Why do you need a module?

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.

How does special pricing logic work?

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).

Main functions of the module

  • Enable/disable functionality through module settings.
  • Adding special prices for product options (for individual option values).
  • Managing promotions by customer groups (customer_group_id).
  • Limiting the action by dates (date_start, date_end).
  • Sorting/selecting a suitable promotion by priority and price.
  • Automatic price insertion in the shopping cart (so that the total does not differ from the one on the display).
  • Rendering special prices in theme templates for radio/checkbox (and related scenarios).

    Recommendations for use (with examples)

    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.202512.05.2025

    Leave your review about this product

    Bonus Get bonus +100 грн. for your review Bonus program

    Write a review

    Note: HTML is not translated!
    AI Assistant

    Recently viewed

    3.x
    Special Price For Product Options
    699 грн.399 грн.
    0
    2392 72

    Featured