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
- Create a Custom Field on Classifieds -> Custom Fields -> New
- The custom field Name must be file_download and Type must be File Dropbox or File Google Drive
- The custom field values are comma separated allowed file extensions
- Now you need to configure one of the methods described below
Dropbox
- Create a new app on the Dropbox Platform
- While you create the app, add your website URL to Chooser/Saver domains
- 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:
Google Picker
1. Go to Google Developers Console
2. Press My Projects -> Create Project
3. Choose Credentials on the left sidebar and click Create Credentials -> API key
4. Copy your API key and paste it to your website admin panel -> Settings -> Advertisement -> Google Picker -> Google Picker API Key
5. Choose Credentials on the left sidebar and click Create Credentials -> OAuth Client ID
6. Click Configure consent screen
7. Choose your Email address, enter the Product name, Privacy Policy URL and click Save
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
9. Copy the Client ID and paste it to your website admin panel -> Settings -> Advertisement -> Google Picker -> Google Picker Client ID and press Save
10. Go to Libary, find and enable Google Picker API
11. Done! You can now go to the Publish new page to see the result