No commit activity in last 3 years
No release in over 3 years
Plugin to display free shipping message on the cart for the WebLinc ecommerce platform
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.5.x
 Project Readme

Workarea Shipping Message

Discount messaging plugin for the Workarea platform.

Out of the box this plugin adds messaging to the cart to let a customer know how close they are to receiving a free shipping discount.

The plugin includes seed data that sets up a free shipping discount with message.

Configuration

No additional configuration is necessary to use this plugin with free shipping messaging.

Other discount types can be configured to allow messaging. To configure another discount type for messaging you will need to

  1. Decorate the discount type and include Pricing::Discount::Message
  2. Add a method called discount_message_valid? to the decorated discount type. See workarea-shipping-message/app/models/workarea/pricing/discount/shipping.decorator for an example.
  3. Create a new discount that meets the criteria of your discount_message_valid? method
  4. Add a method to render your discount message along with any necessary logic to the relevant view_model for where your message will be displayed.
  5. Call the discount render method in the view where your message will be displayed

If you think your new discount message might be a useful addition to this plugin please include a member of the plugin team on your pull request or open a PR against this plugin.

Workarea Platform Documentation

See https://developer.workarea.com for Workarea platform documentation.

Copyright & Licensing

Workarea Commerce Platform is released under the Business Software License