Categories

Przewodniki (20)

Dostosowywanie (8)

O dodatkowych funkcjach (9)

Subskrypcje (4)

Często zadawane pytania (19)

Is there an option to allow downloads for Android devices? My customer's are seeing a 404 page when trying to access their download page. What can I do? How do I add DNS info to Sky Pilot? My PDF stamping position is not looking quite right. What can I do? I don't want the description to appear in my download page. How can I make sure it doesn't? My download page description does not follow HTML standards. What do I do? Microsoft Edge is blocking downloads by Sky Pilot for my customers marking them as unsafe. What can I do? My downloads aren't working and I'm getting a 'This site can't be reached error'. What do I do? Can I bulk upload attachments to my products in Sky Pilot? Can I sort the files in my customer's library by order creation date? Is download limit affected by playing audio/videos? Any countries where Vimeo is banned? If my customers create an account for my website after they have previously downloaded the purchased files via email, will they still be able to see those files? Is there a limit on the number of files that can be added to the products? Is it possible to add the additional charge to the base price of the product if we add digital content to it? How do customers receive the file when they purchase my product, is it just a download link or is it delivered in a specific format? Are there any apps that conflict with Sky Pilot? What does pending access mean in the “Order” section? Where do I see the added photo or video or file when I added it to a specific product?

Dodaj opcję „Zapisz do Dropbox” do swoich plików

You can allow customers to easily save files to their Dropbox by adding two buttons, for each individual file or for all files in one click.

Customise the look of your delivery page by navigating to Settings > Theme > choose the theme you want to edit > Edit Code. 

If you want to add a button to save each individual file and a button to save all files: 

- Navigate to layout liquid to make changes and paste this code:

<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="<key>"></script>

Remember to change <key> with the appropriate key given by Dropbox's documentation.


If you want only want to add a button to save each individual file:

- Navigate to file liquid to make changes and paste this code:

<a


  href='#'


  class='button sky-pilot-button inverse'


  onclick="Dropbox.save('{{file.download_url}}', '{{file.filename}}', {})"


  data-no-instant


>


  {% render 'icons', icon: 'dropbox', classes: 'sky-pilot-action-icon' %}


  Save to Dropbox


</a>

If you want only want to add a button to save all files:

- Navigate to line_item.liquid to make changes and paste this code at the top:

<script type='text/javascript'>


  var files = []


</script>


{% for file in line_item.files %}


    <script type='text/javascript'>


      files.push({url: "{{file.download_url}}", filename: {{ line_item.product.title | json  }} + "/" + {{ file.filename | json }} });


    </script>


{% endfor %}

and this code at the end of the file: 

<script type='text/javascript'>


  if (files.length > 0) {


    var button = Dropbox.createSaveButton({


        files: files,


        error: function(errorMessage){


        if(errorMessage.indexOf("status 403") != -1)


            alert('You have exceeded the limit of allowed dropbox saves');


        }


    });


    var dall = document.getElementById('download-all')


    if(dall) {


        dall.appendChild(button);


        $(button).removeClass("dropbox-dropin-btn","dropbox-dropin-default").addClass("button action_button");


        var newText = "Save All to Dropbox";


        button.innerHTML = newText;


    }


  }


</script>

Then add a

 <span style="margin-left: auto;" id="download-all"></span>

where you want the button to display.  

You can read more in Dropbox's official documentation here.

Contact Our Support Team

If there are still issues that aren’t resolved - or you didn’t find what you are looking for, contact our support

Contact Our Support