drupal-commerce_coupon's Introduction
Commerce Coupon =============== Description ----------- Commerce Coupon module provides coupon functionality for Drupal Commerce (http://drupal.org/project/commerce). Coupons allow users to redeem discounts for Drupal Commerce products/orders during checkout. e.g. '10% off' or '$10 off' Commerce Coupon is flexible and customisable: - Multiple coupon types can be created - Coupons are fieldable entities, meaning that custom fields can be added to each coupon type. - Rules is used to handle the validation and redemption of coupons. As such, the default rules can be fully modified and/or new rules can be added to provide further coupon control. Dependencies ------------ Drupal Commerce and all of its dependencies Entity Reference Installation ------------ Commerce Coupon contains two modules: - Commerce Coupon - Commerce Coupon UI Enable both. Optional -------- Whilst not required, you will likely want to install either or both of: - Commerce coupon fixed amount http://drupal.org/project/commerce_coupon_fixed_amount Generates a: - 'Fixed coupon' coupon type - 'Redeem a coupon with fixed amount' rule - Commerce coupon percentage http://drupal.org/project/commerce_coupon_pct Generates a: - 'Percentage coupon' coupon type - 'Calculate coupon with percentage amount' rule and possibly also: - Commerce coupon batch http://drupal.org/project/commerce_coupon_batch Allows mass generation of coupons. Configuration ------------- - Commerce Coupon permissions Home > Administration > People > Permissions (admin/people/permissions#module-commerce_coupon) - The main Commerce Coupon admin page Home > Administration > Store > Coupons (admin/commerce/coupons) Coupon logic ------------ Coupons must always be of a coupon type (much like content and content types) To create a coupon: - First add a coupon type or install one of the contributed modules that creates one for you such as commerce coupon fixed amount or commerce coupon percentage. - Create a coupon of a particular coupon type Example - Create a '10% off' coupon ----------------------------------- 1) Install modules Install: - Commerce Coupon - Commerce Coupon UI - Commerce coupon percentage 2) Create a 'Percentage coupon' coupon Go to: Home > Administration > Store > Coupons Click 'Create Coupon' Choose 'Create Percentage coupon' (if you have no other coupon types clicking 'Create Coupon' will redirect to the 'Create Percentage coupon' form) Create a percentage coupon with the following: - Coupon Code: 10%OFF - Number of Uses: 1 (change as necessary) - Percentage Amount: 10 - Active: Yes Save 3) Enable the 'Coupons' area on one of your Commerce checkout panes Go to: Home > Administration > Store > Configuration > Checkout settings Move the 'Coupons' item into one of the checkout panes Save 4) Test it!
drupal-commerce_coupon's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.