Coder Social home page Coder Social logo

nopway / hasproducts-discount-requiremement-plugin-for-nopcommerce Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 2.0 88 KB

This nopCommerce plugin allows you to add a discount requirement that checks total quantity of selected products in the cart against predefined min and max quantity values.

Home Page: https://www.nopcommerce.com/p/3278/has-products-discount-requirement-rule.aspx

License: MIT License

C# 48.31% HTML 51.69%
nopcommerce nopcommerce-discount-plugin

hasproducts-discount-requiremement-plugin-for-nopcommerce's Introduction

nopCommerce "Has products" discount requirement plugin

With this plugin, you can create discount requirements that checks the total quantity of selected products against a predefined range. For example, you can select 10 different products (let's say Product A, B, C, ...) and set minimum and maximum quantities to 3 and 5 respectively. In this case, discount will be applied if customer's cart contains any of these products with a total quantity of 3, 4 or 5, so to get this discount a customer can buy

  • 3 pieces of Product A or
  • 2 pieces of Product B and 1 piece of Product C

By this way, it's really easy to create discounts like

  • Buy X of these products and get Y free
  • Buy X of these products and get Y% discount

In addition to the discount requirement, you will get a user friendly product selection window. While selecting products, you don't need to leave selection window anymore. All of your selections will be kept even if you perform a search or go to another page by using pagination. There is also a summary list that you can see all your selected products, so that you can quickly deselect unwanted products.

Installation

  • Download latest release and copy "DiscountRules.HasProducts" folder to Presentation/Nop.Web/Plugins directory.
  • Go to yourdomain.com/Admin/Plugin/List and click "Reload List of Plugins" button
  • Scroll down to "Cart must contain certain amount of products" plugin and click "Install" button

Usage

  • After creating a discount open "Reqirements" tab
  • Select "Cart must contain a certain amount of products" as discount requirement type
  • Set minimum and maximum quantities. The total quantity of selected products appearing in the cart should be between min and max values in order to this discount to be applied.
  • Select products. This field accepts a comma-separated list of valid product ids. Please note that you can't set quantity or range values after product ids.
  • Save requirement

Attributions

  • Discount tag icon in the logo by Vectors Market from the Noun Project

License

MIT Copyright (c) 2019 nopWay

hasproducts-discount-requiremement-plugin-for-nopcommerce's People

Contributors

onuradsay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hasproducts-discount-requiremement-plugin-for-nopcommerce's Issues

nopCommerce 4.20 Upgrade

Hello there,

I was wondering if this plugin was still being maintained, since it has been out of date since nopCommerce 4.20 was released.

Thanks for your answer :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.