- Unzip and paste the extension file into your root Magento folder.
- Connect to your server by SSH.
- Go to your Magento root folder.
- To install the extension, perform this command:
php bin/magento setup:upgrade
- To switch the extension on/off, perform these commands:
php bin/magento module:enable Aitoc_ProductFileAttachments php bin/magento module:disable Aitoc_ProductFileAttachments
You can activate/deactivate several Aitoc extensions at once by specifying their names separated by space in the command.
STORES > SETTINGS > CONFIGURATION > AITOC EXTENSIONS - PRODUCT FILE ATTACHMENTS
You may configure the extension per Store View. Select Customer Groups attached files will be shown to. You may hide attached files from customers who haven’t purchased the product.
Customer Groups: - You can select specific Customer Groups for which Product File Attachments will appear.
Hide file attachments when the product isn't ordered: If Yes is selected, then Product File Attachments won't appear for customer on front-end Product Page if they have not ordered the product.
Display attachments in product details page: To display Product File attachments assigned to Product on front-end Product Detail Page, you will need to enable this option / Select Yes.
Uploading attachment icons
CATALOG > PRODUCT FILE ATTACHMENTS > ICONS
There are 8 icons associated with different file extensions in the library. You may edit existing icons and add new ones for other file formats.
You may delete icons individually or in bulk from the grid.
CATALOG > PRODUCT FILE ATTACHMENTS > ICONS - ADD NEW ICON
Upload an icon image file. We recommend using jpg, jpeg, gif, png, or svg file formats.
Specify a file extension to be associated with the icon.
Adding attachments to the product
CATALOG > PRODUCTS > PRODUCT - PRODUCT FILE ATTACHMENTS BY AITOC
Product attachments can be configured per Store View. Assign a custom title to the attachment that will be shown on the storefront. You may track file downloads and link clickthroughs.
Leave the ‘Customer Group’ field unchanged to use General Settings.
Check the box to make the attachment visible on the storefront.
Check the box to hide the attachment from customers who haven’t ordered the product.
Tracking file downloads
REPORTS > PRODUCTS - ATTACHMENTS
Hit this button to generate a report for the period of time specified below.
Lifetime statistics for file downloads and link clickthroughs on all the product pages are available on this page.
You can export the report to a CSV or Excel XML file.
Front-end view: a product page
THANK YOU FOR CHOOSING AITOC EXTENSIONS!