2017 © Pedro Peláez
 

silverstripe-module silverstripe-shop-discount

Adds Discount and Coupon support for SilverShop.

image

burnbright/silverstripe-shop-discount

Adds Discount and Coupon support for SilverShop.

  • Thursday, March 3, 2016
  • by jedateach
  • Repository
  • 2 Watchers
  • 4 Stars
  • 3,757 Installations
  • PHP
  • 0 Dependents
  • 2 Suggesters
  • 9 Forks
  • 10 Open issues
  • 10 Versions
  • 2 % Grown

The README.md

SilverShop - Discounts

Latest Stable Version Latest Unstable Version Build Status Code Coverage Scrutinizer Quality Score Total Downloads, (*1)

Allows creating discounts for products / orders., (*2)

  • Discount by various criteria, including:
    • Time
    • User group
    • Product/Category
    • Number of uses
    • Order value
    • Shipping zone
  • Coupon codes
  • Gift voucher products
  • Shipping discount

Discounts can be applied to individual products, cart subtotal, or shipping. Discounts can be globally enabled/disabled., (*3)

Requirements

  • SilverShop Module

Installation

    composer require silvershop/discounts dev-master

If you are using the stepped checkout, add the CheckoutStep_Discount checkout step:, (*4)

SilverShop\Page\CheckoutPage:
  steps:
    'discount' : 'SilverShop\Discounts\Checkout\Step\CheckoutStepDiscount'

If you would like to display the coupon form seperately to the checkout form, apply the following extension. This will make CouponForm available in the checkout template:, (*5)

SilverShop\Page\CheckoutPageController:
  extensions:
    - SilverShop\Discounts\Extensions\CouponFormCheckoutDecorator

Add the OrderDiscountModifier modifier to your order modifiers yaml config:, (*6)

SilverShop\Model\Order:
  modifiers:
    - SilverShop\Discounts\Model\Modifiers\OrderDiscountModifier

Specific Pricing

Extend Product and/or ProductVariation with the SpecificPricingExtension to introduce a pricing table for each product. This allows admins to set prices according to things like, date, and membership group., (*7)

SilverShop\Page\Product:
  extensions:
    - SilverShop\Discounts\Extensions\SpecificPricingExtension

The Versions

03/03 2016

dev-master

9999999-dev

Adds Discount and Coupon support for SilverShop.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

16/09 2014

1.1.0

1.1.0.0

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

15/09 2014

dev-issue/carryover-discount

dev-issue/carryover-discount

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

15/09 2014

dev-issue/31-multiple-codes

dev-issue/31-multiple-codes

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

11/09 2014

dev-issue/custom-item-constraints

dev-issue/custom-item-constraints

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

30/08 2014

1.0.0

1.0.0.0

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

26/06 2014

dev-issue/21-maxdiscount

dev-issue/21-maxdiscount

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

18/06 2014

dev-issue/categoryconstraint

dev-issue/categoryconstraint

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

04/06 2014

dev-features/price-history

dev-features/price-history

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

16/05 2014

dev-features/multicode-discounts

dev-features/multicode-discounts

Discounts submodule for silverstripe-shop module. Create coupons and generic discounts to be applied at checkout.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons