================================================== =====================
While this Add-on was made specifically to work with v2.2 MS1, it should work with any snapshot that has the new individual orders_status settings for the payment modules.
All configuration can be done in the Admin via the Configuration ... Download ... settings.
Add the new configuration settings with the downloads_controller.sql file. This will add the new settings for the Admin.
Add a new Order Status, I call mine Updated and check its value in the orders_status table. Then set the value in the Admin for:
Downloads Controller Update Status Value
to this new value. Usually this is a 4, but could be different depending on how many orders_status settings you have.
The default setting for:
Downloads Controller Orders Status Value
is 2. This means that all payment methods that set the orders_status value to >=2 will allow immediate downloads.
Anything less than 2 will result in the Download being unavailable and the display of the:
Downloads Controller Download on hold message
to be displayed.
Includes Free Shipping and Free Payment Modules
Thanks to:
EL Bavaro for the download button.
================================================== =====================
In order for the download link to display, you must assign at least one product attribute and variable. If you have a storefront that is only downloaded products, then that could be the attribute of 'download' and the variable of 'yes'. With only one attribute, it will automatically show on each product added. Then you simply type in the file name to be downloaded.
Also, make sure that you have at least 4 order statuses. You set these through the localization section in the admin panel, or you redefine the orderstatus id that the download will be available at in your own store.
Remember to backup! And enjoy!
Bookmarks