2017 © Pedro Peláez
 

silverstripe-vendormodule discounts

Adds Discount and Coupon support for SilverShop.

image

silvershop/discounts

Adds Discount and Coupon support for SilverShop.

  • Friday, July 6, 2018
  • by anselmdk
  • Repository
  • 2 Watchers
  • 7 Stars
  • 3,304 Installations
  • PHP
  • 3 Dependents
  • 2 Suggesters
  • 28 Forks
  • 18 Open issues
  • 13 Versions
  • 7 % 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

06/07 2018

dev-master

9999999-dev

Adds Discount and Coupon support for SilverShop.

  Sources   Download

BSD-2-Clause BSD-3-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

06/10 2017

1.x-dev

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

06/10 2017

1.3.0

1.3.0.0

Adds Discount and Coupon support for SilverShop.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

silverstripe shop ecommerce shopping cart discount coupons

03/06 2016

1.2.0

1.2.0.0

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