This Magento 2 module adds a free shipping progress bar to your Magento site's shopping cart to promote increased order value. The styles used were intended to allow for this module to be a drop-in feature for the luma theme or other themes based on it. All of the animations are CSS based and no javascript is used to limit overhead.
- Install the module composer by running
composer require chrismallory/module-freeshipping-progress-bar
- Enable the module by running
php bin/magento module:enable ChrisMallory_FreeShippingProgressBar
- apply database updates by running
php bin/magento setup:upgrade
- Flush the cache by running
php bin/magento cache:flush
- Clone or unzip this repository to
app/code/ChrisMallory_FreeShippingProgressBar
- Enable the module by running
php bin/magento module:enable ChrisMallory_FreeShippingProgressBar
- Apply database updates by running
php bin/magento setup:upgrade
- Flush the cache by running
php bin/magento cache:flush
This module adds new fields to the Sales > Checkout section of your stores configuration.
To access this module's configuration, navigate to Stores > Settings > Configuration > Sales > Checkout
then expand the Shopping Cart
group.
If set to yes, a free shipping progress bar will be shown on the shopping cart in the cart summary. By default, the free shipping progress bar is disabled.
If set to yes, this module will use the configuration for the core Free Shipping method. If that method is enabled then this Free Shipping Progress Bar will show based on that method's minimum order subtotal. If set to no, you will be able to set a custom order subtotal for this Free Shipping Progress Bar to show based on. This setting is primarily useful if your store is using a free shipping method other than the core Free Shipping method. By default, this setting is set to yes.
When the above setting is set to no, this field is where you set the order value that the Free Shipping Progress Bar counts down to.
This module has been tested and validated to work on Magento versions 2.3 and higher.
This module uses a ViewModel and should be compatible with versions 2.2 and higher but has not been tested on versions lower than 2.3.
If you find a bug or issue please create a new issue here and include as much detail and context as possible including screenshots.
This module is licensed under the Open Software License V3.0 which you can refer to here.