This feature is available on all sites hosted at Yclas.com

Now sellers can upload files to their ads from Dropbox or Google Picker and sell them. With this feature it’s possible to sell digital goods in your website.

How it works

  • Seller uploads a file from Dropbox or Google Picker while posting his ad
  • Buyer clicks the Buy Now button and buys the product.
  • The confirmation email is sent to the buyer, which includes the Order ID, Product ID and the link to download the uploaded file.

Prerequisites

Create the File field

  1. Create a Custom Field on Classifieds -> Custom Fields -> New
  2. The custom field Name must be file_download and Type must be File Dropbox or File Google Drive
  3. The custom field values are comma separated allowed file extensions
  4. Now you need to configure one of the methods described below

upload-dropbox

Dropbox

  1. Create a new app on the Dropbox Platform
  2. While you create the app, add your website URL to Chooser/Saver domains
  3. Copy the App key from your app and paste it in your website panel, Setting -> Advertisement -> Dropbox -> App key

If this feature is properly configured, the result should be this:

upload-dropbox

Google Picker

1. Go to Google Developers Console

2. Press My Projects -> Create Project

google picker

3. Choose Credentials on the left sidebar and click Create Credentials -> API key

google picker google picker

4. Copy your API key and paste it to your website admin panel -> Settings -> Advertisement -> Google Picker -> Google Picker API Key

google picker google picker

5. Choose Credentials on the left sidebar and click Create Credentials -> OAuth Client ID

6. Click Configure consent screen

google picker

7. Choose your Email address, enter the Product name, Privacy Policy URL and click Save

google picker

8. The next step requires to create the client ID. Choose Application Type - Web Application, enter your website name into the Name field, your website URL into the field Authorized JavaScript origins and press Create

google picker google picker

9. Copy the Client ID and paste it to your website admin panel -> Settings -> Advertisement -> Google Picker -> Google Picker Client ID and press Save

google picker

10. Go to Libary, find and enable Google Picker API

google picker google picker

11. Done! You can now go to the Publish new page to see the result

google picker