Download

From Phoenix Cart User Guide
Revision as of 07:17, 22 June 2020 by PeterRobert (talk | contribs)

<historylink type="back">🠈 Back</historylink> 🠉 ADMINISTRATION



From admin go to Adminnavbarconfig.png Configuration → Download to see this:

Download.png

This enables the shop to sell downloadable digital products.




Enable download

  • Click it in the list to select it.
  • Click it again to edit.
  • Change the setting to true
  • Click Save




Download by redirect

  • Click it in the list to select it.
  • Click it again to edit.
  • Change the setting to true
  • Click Save




Expiry delay (days)

  • Click it in the list to select it.
  • Click it again to edit.
  • Change the setting as required.
  • Click Save




Maximum number of downloads

  • Click it in the list to select it.
  • Click it again to edit.
  • Change the setting as required
  • Click Save




  • When you have created your digital product, name it using lowercase and no spaces.
  • Compress it into a zipped folder.
    • Using Windows, right click on the file.
    • In the popup menu, go to and click Send to > Compressed (zipped) folder
  • Upload the zipped folder to the download folder/directory (found in the top htdocs directory) on the host server using FTP software - see FileZilla
  • Ensure the file permission settings for the download folder/directory are set to 0755
    • This means search engines will not find your download and the public can not access them for free.
  • Ensure the file permission settings for the pub folder/directory are set to 0777
    • The setting Download by redirect passes the file from download to pub so it can be downloaded but adds a random folder name so it can not be found by public search.
    • File permissions can be changed using FileZilla by right clicking on the folder/directory and clicking File permissions... in the popup menu.




  • Create the new product in your shop in Adminnavbarcatalog.png Catalog → Categories/Products - see Categories/Products
    • Ensure to set the Products Weight to 0
  • Go to Adminnavbarcatalog.png Catalog → Products Attributes to see this:

Downloadoptions.png

  • Product Options
    • Enter Download in the Option Name input box next to the language flag.
    • Click + to insert.
  • Option Values
    • Choose Download from the Option Name pull down menu.
  • Enter the file type of your download e.g. PDF in the Option Value input box next to the language flag
  • Click + to insert.
  • Repeat if you have more than one file type option.
  • Product Attributes

Downloadattributes.png

    • Choose the download product name from the Product Name pull down menu.
    • Choose Download from the Option Name pull down menu.
    • Choose the file type e.g. PDF from the Option Value pull down menu.
    • Enter the exact file name of the zipped folder, including the .zip file extension in the Filename: input box.
    • The Expiry delay (days) and Maximum number of downloads can be changed from the defaults already set if required.
    • Click + to insert.




  • When a customer pays on the shop, the order status is set to pending - by default, they will not see the link to download the product to prevent them getting the download for free in case one of your payment options is by deferred payment e.g. by cheque.
  • When the shop owner changes the order status to processing or delivered, the link to download the product will appear in their order in their order history in their account when they are logged in on the shop and stay there for the Expiry delay (days) period.
  • If your only payment options require immediate payment e.g. card payment then the default can be changed so the link to download the product will appear on the checkout success page when they have paid so they can download immediately.
  • The link will also appear in their order in their order history in their account and stay there for the Expiry delay (days) period.
  • To change the default go to Localization → Orders Status
  • Click Pending (default) to see this:

Ordersstatus.png

  • Tick the box: Allow downloads of virtual products at this order status level
  • Click Save



Construction.png
This page is in progress
Please visit again soon for additions and changes

Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org