Post by bull5-i » Fri Feb 17, 2012 9:18 pm

Batch add multiple downloads * Tag download files * Make files freely downloadable *

With this modification you can make OpenCart downloads free, so they can be downloaded from the product page without making a purchase - so called free downloads as product extras. Ideal for adding product manuals, datasheets, brochures, drivers etc to your main product which need to be freely accessible. You can also see & display & reset the total number of times a file has been downloaded.

The mod also adds a separate tagging system enabling you to tag your downloads with custom labels. Tags are used for filtering the free downloads. This is especially useful if you have lots of free downloads associated with products. You can make tags "administrative" so they will not be visible in the store front, but they can still be used in the admin panel for tagging and filtering.

Additional feature that the mod comes with is batch insertion of download files to OpenCart. This way you can upload multiple files with FTP and have them added with just one click. This is especially useful for adding lots of files or files which are larger than PHP maximum file upload size limit.
The mod gives you two options: Auto Add and Directory Add. First one is useful for single click insertion of downloads from a single specified folder on the server. The second, Directory Add, opens up a separate form that enables you to choose from which subfolder (inside a specified root folder) the files will be added. Files can be recursively searched and filtered by file type. You can set tags that will be added to all the inserted files. You can also auto tag the files by enabling path-to-tags feature, which will translate file path to tags, such that each folder is a separate tag.

In the admin panel you can associate downloadable files with the product as usual. Only files marked as "free" will show up on product page (in store front) and can be downloaded from there. You can mark products as "free" in the Downloads section (Catalog -> Downloads -> Downloads). On the same page you can add multiple files from a directory to the OpenCart download system with just one click. You can add/edit/delete download tags from Catalog -> Downloads -> Download Tags).

On the product view page a new tab or module (depending on the settings) will appear which contains the downloadable material.

Features:
  • Make files (downloads) freely downloadable without purchase
  • Download tagging system (with multilanguage support)
  • Single click Auto Add files from a specified folder
  • Directory Add form with refined settings page, to insert files from a selectable folder
  • Filter files to be batch added by file type
  • Downloads auto tagging with path-to-tag with Directory Add
  • Recursive file search with Directory Add
  • See the files to be added with Directory Add
  • Display file size, date added, file type icons
  • Sort downloads by name, date added or file size (shop front end)
  • Filter downloads by tag (shop front end)
  • Downloads filtering (admin side) [added in v2.0]
  • Control download status - Enabled/Disable [added in v2.0]
  • Display filename as link or display a separate "Download" link
  • Adjust the number of free downloads shown per page
  • Force file download or open in browser
  • Control the visibility of the downloads tab (always visible or show only if there is something to download)
  • Option to require user login
    • Hide download tab for users not logged in
    • Show download tab with a special note to indicate that login is required to see the downloads
    • Show download tab with downloads, but without a download link, if login is required [added in v2.0]
  • Customer Class based download access
  • Easy linking products - associate a download with multiple (or all) products on download edit page
  • Easy linking downloads - associate a tag with multiple (or all) downloads on download tag edit page
  • Load the first page or all downloads without AJAX to improve SEO [added in v2.1]
  • Show purchasable and/or purchased downloads in the download tab [added in v3.0]
  • Selectable module position on product page: Content Top, Content Tab or Content Bottom [added in v3.1]
  • Administrative tags (only visible in admin) [added in v3.2]
  • Downloaded count - resettable (how many times a download has been downloaded) [added in v3.2]
  • AJAX based file uploading with progress bar and large file support [added in v3.4]
Modification settings can be configured from module settings page (Extensions -> Modules)

Product Downloads PRO can be bought from http://www.opencart.com/index.php?route ... on_id=4968

The mod is available as a vQmod only for OpenCart 1.5.1.x - 1.5.6.x

The latest version of the mod is 3.7.5.

Screencasts:
Download filtering on product page
Add files from a base directory with recursive search

Live DEMO: http://goo.gl/IsnY9

Some screenshots (more pictures in the OpenCart extension store):
ADMIN
Modification settings page: general tab
admin_module_settings_general_tab.png

Admin, module general settings - admin_module_settings_general_tab.png (42.74 KiB) Viewed 10912 times

Download edit page
admin_downloads_edit_page_uploading.png

Admin, download edit (uploading in progress) - admin_downloads_edit_page_uploading.png (44.53 KiB) Viewed 10912 times

STORE
Product view
store_product_downloads_tab.png

Store, Product view: downloads and filter keys - store_product_downloads_tab.png (23.64 KiB) Viewed 12140 times


- edit 24.05.2013 - Version 3.7.5 released for OpenCart 1.5.1.x-1.5.6.x (fixed PHP 5.2 support)
- edit 12.05.2013 - Version 3.7.4 released for OpenCart 1.5.1.x-1.5.5.x (added login redirection back to product page)
- edit 15.04.2013 - Version 3.7.3 released for OpenCart 1.5.1.x-1.5.5.x (fixed IE & Firefox file upload button issues)
- edit 06.04.2013 - Version 3.7.2 released for OpenCart 1.5.1.x-1.5.5.x (fixed product/product route detection)
- edit 30.03.2013 - Version 3.7.1 released for OpenCart 1.5.1.x-1.5.5.x (fixed compatibility with PHP versions < 5.4.0)
- edit 17.03.2013 - Version 3.7.0 released for OpenCart 1.5.1.x-1.5.5.x (added 'Add to Cart' button hide feature)
- edit 28.01.2013 - Version 3.6.0 released for OpenCart 1.5.1.x-1.5.4.x (added file name autocomplete and updated third party modules)
- edit 08.11.2012 - Version 3.5.5 released for OpenCart 1.5.1.x-1.5.4.x (fixed an output buffering error that could corrupt downloaded file)
- edit 02.11.2012 - Version 3.5.4 released for OpenCart 1.5.1.x-1.5.4.x (fixed a potential undefined offset notice)
- edit 17.10.2012 - Version 3.5.3 released for OpenCart 1.5.1.x-1.5.4.x (fixed large file download issue)
- edit 12.10.2012 - Version 3.5.2 released for OpenCart 1.5.1.x-1.5.4.x (fixed two minor issues)
- edit 19.09.2012 - Version 3.5.1 released for OpenCart 1.5.1.x-1.5.4.x (fixed an undefined index notice)
- edit 08.06.2012 - Version 3.4.1 released for OpenCart 1.5.1.x-1.5.3.x (fixed compatibility with PHP < 5.3.0, fixed a javascript uploading issue)
- edit 05.06.2012 - Version 3.4.0 released for OpenCart 1.5.1.x-1.5.3.x (added ajax based file upload)
- edit 11.05.2012 - Version 3.3.1 released for OpenCart 1.5.1.x,1.5.2.x (fixed an undefined index notice on download insert page)
- edit 09.05.2012 - Version 3.3.0 released for OpenCart 1.5.1.x,1.5.2.x (added apply button for saving settings, fixed download access & other bugs, refactores some of the code)
- edit 23.04.2012 - Version 3.2.0 released for OpenCart 1.5.1.x,1.5.2.x (fixed some bugs, added downloaded total count, added administrative tags)
- edit 17.04.2012 - Version 3.1.1 released for OpenCart 1.5.1.x,1.5.2.x (fixed PHP warning messages when the upload file size exceeds the limit set by the PHP upload_max_filesize directive)
- edit 17.03.2012 - Version 3.1.0 released for OpenCart 1.5.1.x,1.5.2.x (fixed issue with default values when adding/removing a language + added selectable module position)
- edit 08.03.2012 - Version 3.0.0 released for OpenCart 1.5.1.x,1.5.2.x (added option to show purchasable & purchased downloads in the tab)
- edit 25.02.2012 - Version 2.1.0 released for OpenCart 1.5.1.x (added option to load downloads without ajax to improve SEO)
- edit 20.02.2012 - Version 2.0.0 released for OpenCart 1.5.1.x (refactoring + option to show downloads without link if not logged in + other features)
- edit 17.02.2012 - Version 1.0.0 released for OpenCart 1.5.1.x
Last edited by bull5-i on Thu Sep 05, 2013 2:32 pm, edited 18 times in total.

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by mihaidd » Sun Feb 19, 2012 2:35 am

One quick question, can this mod be used to sequentially make available a single file per product purchased, after someone makes a purchase? Sequential files, stored in specific folders, one folder associated to one product.
I need to make this work somehow... sequentially allocate the files, one by one, after customers purchased the specific product(s). Disabling the files sequentially, so they won't be associated to the next purchase of product X (same product)
Yes, I want to sell services basically, and the downloadable files will be the end-product purchased by the customer.

Newbie

Posts

Joined
Sun Feb 19, 2012 2:25 am

Post by bull5-i » Sun Feb 19, 2012 2:48 am

No, this kind of behaviour cannot be achieved with this mod.

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by mihaidd » Sun Feb 19, 2012 3:08 am

Hmm... was trying to avoid buying this expensive module... http://www.opencart.com/index.php?route ... order=DESC

But none the less, If I'll go that route with the serials, I will have to buy your module to maybe include a nice template per every product, containing a nice presentation and detailed instructions. Will see, next week I'll have a budget meeting and will purchase via the shop if approved.

Thank you
Have a nice day!

Newbie

Posts

Joined
Sun Feb 19, 2012 2:25 am

Post by bull5-i » Tue Feb 21, 2012 12:09 am

Released version 2.0.0 - a lot of code refactoring with a few bug fixes and several new features. This adds an option to display downloads without download link if login is required - this can be configured per download or gloablly for all downloads. It also adds downloads filtering to the admin area and introduces download status - enabled/disabled.

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by Melon » Tue Feb 21, 2012 12:33 am

Before and after update i still get this error when saving download options..
Notice: Undefined variable: tags in /home/##mysite##/public_html/vqmod/vqcache/vq2-admin_controller_catalog_download.php on line 155Warning: array_unique() expects parameter 1 to be array, null given in /home/##mysite##/public_html/vqmod/vqcache/vq2-admin_controller_catalog_download.php on line 155Warning: Invalid argument supplied for foreach() in /home/##mysite##/public_html/vqmod/vqcache/vq2-admin_model_catalog_download.php on line 82Warning: Cannot modify header information - headers already sent by (output started at /home/##mysite##/public_html/admin/index.php:96) in /home/##mysite##/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/##mysite##/public_html/admin/index.php:96) in /home/##mysite##/public_html/vqmod/vqcache/vq2-system_engine_controller.php on line 29
ps I renamed to ##mysite##

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by bull5-i » Tue Feb 21, 2012 12:41 am

Please clear vqmod cache and see if/what error message is then produced.

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by Melon » Tue Feb 21, 2012 12:44 am

Same error.. is tags a database field ?

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by bull5-i » Tue Feb 21, 2012 12:50 am

Please re-download the module from OpenCart extension store and replace all files + clear all vQmod cache files.

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by Melon » Tue Feb 21, 2012 1:01 am

Notice: Error: Unknown column 'login' in 'field list'
Error No: 1054
UPDATE download SET remaining = '9999', is_free = '1', file_size = '714520', login = '0', status = '1' WHERE download_id = '3' in /home/#####/public_html/system/database/mysql.php on line 49

Can you send me the field details and ill add it to the database..

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by Melon » Tue Feb 21, 2012 1:08 am

Found and fixed it, some reason it didnt change the database..

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by bull5-i » Tue Feb 21, 2012 1:50 am

Did you uninstall the previous version before you upgraded to the new version?
When upgrading you should uninstall the old version, then replace the files and install again. This way all new database changes will be made automatically.

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by Melon » Tue Feb 21, 2012 1:56 am

Previous version, didnt make the database changes .. changed manually seems fine

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by bull5-i » Sat Feb 25, 2012 4:32 pm

Released version 2.1.0 - this adds an option to load the first page or all downloads without AJAX to improve SEO

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by bull5-i » Thu Mar 08, 2012 7:50 pm

Released version 3.0.0:
  • Added option to access purchased downloads from product page download tab
  • Added option to show purchasable downloads on product page in the download tab
  • Fixed downloads pagination bug in admin
  • Optimized downloads loading a bit
  • Added support for OpenCart 1.5.2.x

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by bull5-i » Sat Mar 17, 2012 9:06 pm

Released version 3.1.0:
  • Fixed: default values are not prefilled when adding a new language or deleted when removing a language
  • Added: option to choose extension position on product page (content top, content tab or content bottom)

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by ogia » Sun Apr 08, 2012 2:16 pm

Is it possible to count how many times a free download is downloaded and display that on product page?

Using OC 1.5.2.1


Newbie

Posts

Joined
Sun Apr 08, 2012 1:00 pm

Post by bull5-i » Sun Apr 08, 2012 3:15 pm

Currently no, that information is not available.
I'll add it to the TODO list so it might get pushed into a future release.

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm

Post by ogia » Tue Apr 10, 2012 11:59 am

bull5-i wrote:Currently no, that information is not available.
I'll add it to the TODO list so it might get pushed into a future release.
Awesome. Thank you.

Using OC 1.5.2.1


Newbie

Posts

Joined
Sun Apr 08, 2012 1:00 pm

Post by bull5-i » Tue Apr 17, 2012 10:41 pm

Released version 3.1.1:
  • Fixed: PHP warning messages when the upload file size exceeds the limit set by the PHP upload_max_filesize directive

|V|355 \/\/17|-| 7}{3 |3357, ... [you know the rest]

Commercial mods: New! Questions & Answers PRO - Admin Quick Edit PRO - Product Downloads PRO - Custom Product Tab PRO - New! Product Quick Edit Plus

All mods & extensions by me


Active Member

Posts

Joined
Tue Jan 11, 2011 8:49 pm
Who is online

Users browsing this forum: No registered users and 2 guests