Post by MattDavies » Mon Nov 20, 2023 10:24 am

Hi
I am wondering how to , if i upload directly to my upload folder outside of opencart, mostly zip files to download. How do i get opencart 3.0.30.8 to see them ?
If i upload using opencart upload feature i find them no problem, but if i upload direct to uploads it doesn't
Any ideas
thanks

Newbie

Posts

Joined
Tue Nov 07, 2023 1:20 am

Post by ADD Creative » Mon Nov 20, 2023 5:19 pm

You should be able to manually add a download and set the filename. Remember to use a secure random filename so it can't be guessed.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Mon Nov 20, 2023 5:57 pm

I assume you are talking about downloadable product items? Merely uploading the files to your DIR_STORAGE.'download' won't be enough. You also need to have corresponding entries in the database (just the names and masks) in the tables oc_download, oc_download_description, and oc_product_to_download. Hence you should use the OpenCart admin interface for this.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Mon Nov 20, 2023 7:32 pm

MattDavies wrote:
Mon Nov 20, 2023 10:24 am
How do i get opencart 3.0.30.8 to see them ?
You can't without coding this functionality.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by MattDavies » Mon Nov 20, 2023 11:58 pm

Thanks everyone

Newbie

Posts

Joined
Tue Nov 07, 2023 1:20 am

Post by paulfeakins » Tue Nov 21, 2023 11:54 pm

MattDavies wrote:
Mon Nov 20, 2023 11:58 pm
Thanks everyone
If you now consider this solved, please add [SOLVED] to the start of this post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by DigitCart » Wed Dec 06, 2023 7:48 pm

Hi
I published this commercial extension for this purpose today:
Download Auto-Creator
https://www.opencart.com/index.php?rout ... n_id=45677

My Extensions


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm

Who is online

Users browsing this forum: No registered users and 26 guests