Adds Discount and Coupon support for SilverShop.
Allows creating discounts for products / orders.
- Discount by various criteria, including:
- User group
- 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.
- SilverShop Module
composer require silvershop/discounts dev-master
If you are using the stepped checkout, add the
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
SilverShop\Page\CheckoutPageController: extensions: - SilverShop\Discounts\Extensions\CouponFormCheckoutDecorator
OrderDiscountModifier modifier to your order modifiers yaml config:
SilverShop\Model\Order: modifiers: - SilverShop\Discounts\Model\Modifiers\OrderDiscountModifier
ProductVariation with the
to introduce a pricing table for each product. This allows admins to set prices
according to things like, date, and membership group.
SilverShop\Page\Product: extensions: - SilverShop\Discounts\Extensions\SpecificPricingExtension