Product Help Documentation - NopAdvance

NopAdvance Store

Installation and configuration - Category Based Discount Condition

Buy Now

The 'Must Have Products from Selected Categories' feature extends the default nopCommerce discount functionality by allowing store owners to apply discounts only when products from specific categories are present in the customer's shopping cart.

This feature works together with the default nopCommerce discount system and adds an additional validation rule. The discount will apply only if the customer's cart contains at least one product from the selected categories.

This helps store owners create category-based promotional campaigns and encourages customers to purchase products from specific categories.

Key Highlights

  • Category-based discount condition
  • Works with default nopCommerce discounts
  • Flexible category selection
  • Easy configuration from the discount page
  • Plugin enable/disable control
  • Supports coupon-based discounts
  • Improves targeted promotions
  • Encourages category sales

 

Installation and Configuration

All our plugins require you to first install the NopAdvance.Core plugin as a prerequisite for its operation. Please refer to the instructions on how to install a plugin while proceeding with the setup.

Once installed, the Must Have Products from Selected Categories menu will appear under NopAdvance → Plugins in your nopCommerce Admin Panel.

Must Have Products from Selected Categories navigation menu

How the Feature Works

  • The customer must add at least one product from the selected categories to the shopping cart.
  • If a product from the selected category is present in the cart, the discount will be applied.
  • If no product from the selected categories is present in the cart, the discount will not be applied even if a valid coupon code is entered.

Plugin Configuration

Selecting the Configure menu item will open the configuration page. From this page, administrators can enable or disable the plugin functionality.

category based discount condition configure page

How to Use

  • Go to Admin → Promotions → Discounts.
  • Create a new discount or edit an existing one.
  • Select 'Must Have Products from Selected Categories' as the Discount Requirement Type.
  • Select the categories that must exist in the customer's shopping cart.
  • Save the discount

The discount will apply only when at least one product from the selected categories is in the cart. If none of the selected categories are present in the cart, the discount will not be applied.

category based discount condition requirement setting page

That's all you need to do in order to use this discount requirement in your nopCommerce store.