When using this plugin to make a dropbox file a downloadable Woo product, is the file loaded into the WordPress media library?
]]>Plugin not support Woocommerce Beta Editor, you have a ideas how add button to new Editor?
jQuery(function($) {
const wcdb = {
lastSelectedButton: false,
options: {
success: function(files) {
wcdb.afterFileSelected(files);
},
linkType: 'preview',
multiselect: true
},
init: function() {
if (!this.checkBrowserSupport()) {
return;
}
this.addButtons();
this.addButtonsNewEditor();
this.addButtonEventHandler();
$('#variable_product_options').on('woocommerce_variations_added', () => {
wcdb.addButtons();
wcdb.addButtonsNewEditor();
wcdb.addButtonEventHandler();
});
$('#woocommerce-product-data').on('woocommerce_variations_loaded', () => {
wcdb.addButtons();
wcdb.addButtonsNewEditor();
wcdb.addButtonEventHandler();
});
},
checkBrowserSupport: function() {
return (typeof Dropbox !== 'undefined') && Dropbox.isBrowserSupported();
},
addButtons: function() {
let button = $('<button type="button" class="button insert-dropbox">' + woocommerce_dropbox_translation.choose_from_dropbox + '</button>');
$('.downloadable_files').each(function() {
let insertButton = $(this).find('a.button.insert');
if ($(this).find('button.insert-dropbox').length === 0) {
insertButton.after(button.clone());
}
});
},
addButtonsNewEditor: function() {
const observer = new MutationObserver(function(mutationsList) {
for (let mutation of mutationsList) {
if (mutation.type === 'childList' && mutation.addedNodes.length > 0) {
let targetNode = $('.woocommerce-downloads-menu__menu-content .components-dropdown-menu__menu [role="group"]');
if (targetNode.length > 0 && !targetNode.find('.insert-dropbox').length) {
let button = $('<div class="components-dropbox"><span class="components-menu-item__item">Use file from DropBox</span><button type="button" class="button insert-dropbox">' + woocommerce_dropbox_translation.choose_from_dropbox + '</button></div>');
targetNode.last().append(button);
wcdb.addButtonEventHandler();
}
break;
}
}
});
observer.observe(document.body, { childList: true, subtree: true });
},
addButtonEventHandler: function() {
$('button.insert-dropbox').on('click', function(e) {
e.preventDefault();
wcdb.lastSelectedButton = $(this);
Dropbox.choose(wcdb.options);
});
},
afterFileSelected: function(files) {
let productId = '';
$.each(files, function(index, file) {
let fileData = {
'name': file.name,
'url': file.link.replace('dl=0', 'dl=1'),
'product_id': productId
};
$.ajax({
type: 'POST',
url: wcdb_ajax_object.ajax_url,
dataType: 'json',
data: {
'action': 'woocommerce_add_product_file',
'file_data': fileData,
'security': wcdb_ajax_object.ajax_nonce
},
success: function(response) {
if (response.success) {
let body = $('.wp-block-woocommerce-product-downloads-field__body');
let table = $('<div class="woocommerce-sortable wp-block-woocommerce-product-downloads-field__table" role="listbox"></div>');
let fileRow = $('<div class="woocommerce-sortable__item woocommerce-list-item wp-block-woocommerce-product-downloads-field__table-row is-last-droppable" role="listitem" tabindex="-1" aria-description="Press spacebar to reorder"></div>');
let fileName = $('<div class="wp-block-woocommerce-product-downloads-field__table-filename"><span>' + file.name + '</span><span class="wp-block-woocommerce-product-downloads-field__table-filename-description">' + file.link.replace('dl=0', 'dl=1') + '</span></div>');
let actions = $('<div class="wp-block-woocommerce-product-downloads-field__table-actions"><button type="button" class="components-button is-tertiary">Edit</button><button type="button" class="components-button has-icon" aria-label="Remove file"></button></div>');
fileRow.append(fileName);
fileRow.append(actions);
table.append(fileRow);
body.append(table);
} else {
console.error('', response.data.message);
}
},
error: function(xhr, status, error) {
console.error('Error AJAX:', error);
console.error('Server Respond:', xhr.responseText);
}
});
});
}
};
wcdb.init();
});
I have a script that can add a button to the “Download” block, but I need the logic to add a file to the Input Link of WordPress Blocks (using React). Could you provide guidance on how to achieve this with the new WooCommerce Beta Editor?
Thank you.
]]>Step 9 in setup says: While on the Settings tab, add your domain to the field ‘Choose/Saver domains’
I don’t understand what this means. I tried putting my website domain in there and it didn’t work when I tried to select a dropbox file for a product
]]>cant see dropbox link option in product page after latest wordpress update
]]>Regardless of plugin current working condition, when files are downloaded, are they secure by default? Like download count limit and direct link sharing, is it applicable?
]]>I love your plugin and it works great. The download links are in the final receipt after placing the order. Is there a way to also email the receipt with the download links as well as some customers close the receipt window and can’t download.
]]>Any chance we might see a bulk download option for those using this plugin to deliver content to their site users?
]]>Hi!
I have a problem, files from Free Dropbox are downloading without any problems. However, when I switch to a 5 TB commercial account, I receive the following message: File not found. Go to the store.
the plugin has been configured correctly from both accounts 9 free /paid) I can generate links to the product in woocomerce.
the settings in the tab are the same for both accounts:
https://www.dropbox.com/developers/apps/
I can’t work on a free account all the time because my files are too large to store and I’m running out of space
I will be grateful for any help!
]]>Hi,
I have zip that i store in dropbox and then link yo your extension.
My problem is when a user buy a product and download the zip. The zip is corrupted.
So i try the direct link of dropbox and it works, thinking was about my zip. But No.
Is a possibily your extension corrupt the zip during the download ?
Thanks
]]>Hello
it looks this plugin works only while you are logged in to Dropbox, right?
I mean on the single product page if I click on “Choose from Dropbox”, it will connect to Dropbox only if the WordPress user is logged in to his Dropbox account.
This means that the owner of the Dropbox account is not able to delegate someone else to upload a file to the product. Unfortunately, this is a big limitation, have you planned to connect to Dropbox without the need to be logged in to Dropbox? Maybe using also the APP secret. In the plugin settings I don’t see any options, but the APP key.
Do you confirm it? Or am I doing something wrong?
This plugin has a very big potential. It’s the only one that you find if you search “WooCommerce Dropbox”. If you add the mentioned feature it would be a big success. Then you could sell a PRO version allowing the users to chose a folder of their Dropbox account and not only “Full Dropbox”, or maybe you can limit the size of the upload in the free version. But I would not keep the limitation mentioned above in the free version. Until it has this limitation (if confirmed), I think many people install it and then remove it, because the only way to use this plugin is by being both the owner of the Dropbox account and the user who edit the product.
]]>Your plugin is great: simple, easy to install, especially access to Dropbox is very fast. But unfortunately it cannot add a Share Folder Link of Dropbox into File URL of Woo Virtual Product.
I’m wondering, why don’t you make your Plugin be able to add File URL as Share Folder Link, as this makes your Plugin awesome
If you have problems converting Dropbox’s Share Folder Link into a Zip Download Link -> I KNOW HOW
Looking forward to your upgraded version
]]>Hi!
Good news, Dropbox increased bandwidth:
If you want, tell a novelty in the description of the product that still has old information
??
]]>Hello,
I’ve installed the plugin activated it created the app and entered the app key. However on my digital products there’s no choose from dropbox button. Did I miss something at some point or is there an additional setting for it.
Best regards
Dominik Schaller
]]>Hello,
I’ve a question before using this plugin, are the downloads links protected? So the user can’t share the download url or is the url the customer receives public and he can share it?
Best regards
Dominik Schaller
]]>Hello
I updated the WooCommerce plugin yesterday and after that the WooCommerce Dropbox plugin does not work and users can not find the files to download .When users click on the download link, a page is displayed with this error:
The file was not found
Hello
I updated the WooCommerce plugin yesterday and after that the WooCommerce Dropbox plugin does not work and users can not find the files to download .Please help
Hello, I’m starting a business that will sell digital files and will rely on regular updates to those files. I need my customers to be able to access their previous purchases on their account and download the new files whenever I update them.
Currently, everything seems to work except when they download the zip file and try to open it, it’s a corrupted file.
]]>Hello, try to use Dropbox Woocommerce plugin but inside Woocommerce I can only see my personal Dropbox but we have setup the app key to use the Dropbox of my friend. So what can I do, to use another dropbox folder? Thank you!
]]>Hi @vadiemjanssens;
I have been using an easy digital downloads plugin for a long time. I want to transfer my products to woocommerce. I can create a csv table. How can I transfer my +400 file in Drobbox, how is your file selection link? Is there an easy way? Or should I choose one by one?
Easy digital d… drobbox take it this way: edd-dbfs://filename.zip
]]>Everything works well until the final stage of the process. On the Order received page the Product, Downloads, Expires and Download fields are empty. The customer order email fields in Downloads: Product, Expires and Download are also blank.
Is there something I’m doing wrong?
]]>Hi, from what I can deduce, there is some issue with my dropbox links created in the woocommerce product page, and maybe it is a setting on the dropbox end of things, but please advise me if you have any insight. I’m in tears! for days!!!
Here is the link generated:
https://www.dropbox.com/s/fp9byeswr0cs23k/Focus%20Power%20%231.mp3?dl=1
Is anything wrong with this or do I need to alter is somehow?
Here is what I get every time: Invalid download link. Go to shop
Thank you so much!
]]>This plugin seems like the only option out there, and performs wonderfully except for one thing: After payment for a product, there is nowhere for the customer to download the file they just purchased. The link to download the file is missing from the table of purchased downloads on the receipt page, from the email receipt that the customer receives, and from the list of available downloads within the My Account area.
I’d be willing to pay to get this fixed. Please reach out as soon as possible?
]]>customers are getting corrupted files from two days please check the issue sir. i am getting lots of complaints from customers. everyone is getting corrupted files.
]]>suddenly it stopped showing me choose from dropbox option when adding new digital product ? please someone help.
]]>Hello
Unfortunately plugin doesn’t give links to the customers properly. Sometimes it gives, sometimes it doesn’t.
I don’t know why it does that? Please help….
WordPress: 4.9.7
Woocommerce: 3.4.3
Woocommerce Dropbox: 1.1.1
When product is duplicated, new download link is selected and product is updated with new info, product is not downloadable and no link on order-received page. ??
]]>Hi, can you please check or help me with this issue all files that are sent to customer are corrupted, or empty.
How can this be fixed?
]]>Old digital products links are sent but not new ones which i added in last week and this week.
When customer purchases my video clips i complete orders manually after confirming payment. all old clips links are sent to customer but not the new two products link which i sent in last week and one yesterday.
if client purchases one old clip and one clip i added last week. he gets link for old clip but not for the one i added last week.
Please reply really urgent.
sorry there is an update its something strange. i have added one product today and its link is sent when i marked order as completed. have issue with only two products in my store which’s links are not being sent. i am using dropbox as my file hosting and have installed plugin WooCommerce Dropbox 1.1.1
all other links are being sent only two products have issue. have checked everything and its completely fine. no idea whats going on.
]]>Hi,
I am setting up api on https://www.dropbox.com/developers/apps/info/** and entering my domain.
It comes back as invalid.
Of course domain is right, how can this be fixed?
thank you
Andrew
Hello,
When my client’s users are downloading large files, about 10-20% of them are getting failed downloads. The files are large (5-10GB). We’re using X-Accel-Redirect/X-Sendfile as the download method, which I thought meant that it doesn’t go through the client’s server. Am I correct in thinking that, or do we need to change the redirect method? I’m under the impression that the safest and most reliable option is X-Accel-Redirect/X-Sendfile, but it doesn’t seem to be working…
If it is going through our server, is there a way to just have the users download directly from Dropbox? Or alternatively, what modifications do we need to make to our server to prevent failed downloads (Increasing maximum execution time has crossed my mind – has anyone tried that?)
Thanks for your help.
]]>