Post by nik@frenchoo.com » Fri Nov 16, 2018 2:06 pm

Hi there.

Here is my issue. Part of the problem is that I don't know how to phrase it so that I can actually google it.

I added about 70 files as downloadable products. They all start with the same string " 10 French cards about ..."
Image


So when I get to the Home > Products >Edit Product > Links >Download it always autofills with the same 5 cards, and I need to access the others.
The solution is to either turn off the autofill and paste the actual file name inside the box, but I can't find any option to turn autofill on.
Another solution is to find and edit the js so that it displays 15 cards and I will be able to get all of those that I need, as there are no more than 12 starting with the same string.

Any help would be much appreciated, as I am totally stuck at the moment.

Thanks in advance


Posts

Joined
Sun Nov 11, 2018 7:43 pm

Post by ocmta » Fri Nov 16, 2018 4:54 pm

Edit file admin/controller/catalog/download.php, find this line, it's 25 lines above the end of the file:

Code: Select all

'limit'       => 5
and replace it with:

Code: Select all

'limit'       => 15

Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount


Active Member

Posts

Joined
Mon Mar 12, 2012 11:21 am


Post by nik@frenchoo.com » Sat Nov 17, 2018 9:13 pm

;)
Ah thank you you are a star.
I knew there would be a 5 someone, but I was looking for it in another file.
I gave up in the end, and found a way round: to paste the beginning of the filename every time.
But with your answer, I will modify the original and that's going to make my life so much easier.

Again, thanks for your help, it was much appreciated.


Posts

Joined
Sun Nov 11, 2018 7:43 pm

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 109 guests