Difference between revisions of "Providing downloadable products"

From Spiffy Stores Knowledge Base

Line 2: Line 2:
  
 
==Step 1 - Create your product page==
 
==Step 1 - Create your product page==
 +
 
When you have created your product, make a note of it's ''Product ID'' and ''Product Handle'', as you will need to name your file using these.   
 
When you have created your product, make a note of it's ''Product ID'' and ''Product Handle'', as you will need to name your file using these.   
  
 
====Finding out your Product ID====
 
====Finding out your Product ID====
 +
 
Your product ID is an internal number than cannot be seen in your storefront by your customers.   
 
Your product ID is an internal number than cannot be seen in your storefront by your customers.   
  
Line 12: Line 14:
 
</pre>
 
</pre>
  
====Finding out your product handle====
+
====Give your product variation a unique SKU====
Click the edit link that is next to your product descriptionYou will see a small link to show the ''handle'' of the product.  Click the link, and make a note of the handle.
+
 
 +
On the product edit page, ensure that the product variation has a unique SKU.  For the purposes of this tutorial, the SKU we have set is ''sbw246-download''.  The last part of the SKU should always be "-download" so that we can provide a link to download the file in the order confirmation email.
 +
 
 +
==Step 2 - Create a zip file for your customer to download==
 +
 
 +
On your computer, create a zip file for you customer to download.  In this tutorial, it should be named ''12052-sbw246-download.zip''
 +
 
 +
<pre>
 +
{{ product.id }}-{{ variant.sku }}.zip
 +
</pre>
 +
 
 +
Once you have done this, go to the ''Design & Assets -> Uploaded files'' section of your store's Toolbox and upload your zip fileOnce you have uploaded your zip file, you should make sure the file name is correct by clicking on it. Note: regardless of whether your SKU is uppercase, your file name should be all in lowercase.
 +
 
 +
==Step 3 - Edit your ''Order Confirmation'' email template==
 +
 
 +
# Go to the ''Design & Assets -> Email templates'' section of your store's Toolbox. 
 +
# Click on your ''Order Confirmation'' email template.
 +
# Click ''Reload Template Defaults''This will load in a clean default version of your template.
 +
# Click ''Edit Html Version''
 +
# Tick the ''Custom Templates are Enabled'' box
 +
# Replace the entire code of the email with the code below, and click ''Save''<br><pre>

Revision as of 12:41, 4 November 2015

We currently do not support downloadable products, but you are able to modify your templates to support downloadable products. There are a few steps to setting up this process, which are detailed below.

Step 1 - Create your product page

When you have created your product, make a note of it's Product ID and Product Handle, as you will need to name your file using these.

Finding out your Product ID

Your product ID is an internal number than cannot be seen in your storefront by your customers.

Once you have saved your product, your product ID can be seen in the URL of your product. It is the last part of the URL of the page. In the example below, the product ID is 12052.

https://yourstore.spiffystores.com/admin/products/12052

Give your product variation a unique SKU

On the product edit page, ensure that the product variation has a unique SKU. For the purposes of this tutorial, the SKU we have set is sbw246-download. The last part of the SKU should always be "-download" so that we can provide a link to download the file in the order confirmation email.

Step 2 - Create a zip file for your customer to download

On your computer, create a zip file for you customer to download. In this tutorial, it should be named 12052-sbw246-download.zip

{{ product.id }}-{{ variant.sku }}.zip

Once you have done this, go to the Design & Assets -> Uploaded files section of your store's Toolbox and upload your zip file. Once you have uploaded your zip file, you should make sure the file name is correct by clicking on it. Note: regardless of whether your SKU is uppercase, your file name should be all in lowercase.

Step 3 - Edit your Order Confirmation email template

  1. Go to the Design & Assets -> Email templates section of your store's Toolbox.
  2. Click on your Order Confirmation email template.
  3. Click Reload Template Defaults. This will load in a clean default version of your template.
  4. Click Edit Html Version
  5. Tick the Custom Templates are Enabled box
  6. Replace the entire code of the email with the code below, and click Save