Different folder for products

Ask the community for help and support.
shopify
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Has thanked: 23 times
Been thanked: 3 times

Different folder for products

Post by shopify »

Salutaions! So, I want to keep my product images in different place from other images, to somewhere like images/products. How to achieve this>
loop
VIP Member
VIP Member
Posts: 230
Joined: Thu Mar 25, 2021 12:26 pm
Has thanked: 7 times
Been thanked: 3 times

Re: Different folder for products

Post by loop »

Hi
I think this plugin is a good starting point:
https://apps.oscommerce.com/Xw3Ow&ce-ph ... ephoenix10
14Steve14
VIP Member
VIP Member
Posts: 578
Joined: Fri Oct 25, 2019 7:01 pm
Has thanked: 9 times
Been thanked: 49 times

Re: Different folder for products

Post by 14Steve14 »

@Denzel did an addon that worked really well with no core code changes, but don't see that it been released yet on this forum which is a shame. I also cannot find the link to the thread on the old forum which is even more frustrating. May be if he sees this post he will post the code here.
shopify
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Has thanked: 23 times
Been thanked: 3 times

Re: Different folder for products

Post by shopify »

So, I use two images for my items which I want one each saved in images/ and images/models.
First image I add to first image box, then select a second image for second image box in product attributes.

Where code should I change to save only first item image to images/ and save the second image to images/models?
Dan Cole
VIP Member
VIP Member
Posts: 225
Joined: Fri Oct 25, 2019 2:14 pm
Has thanked: 25 times
Been thanked: 14 times

Re: Different folder for products

Post by Dan Cole »

I think this is the thread that Steve is referring to....

https://forums.oscommerce.com/topic/494 ... rectories/
ecartz
Lead Developer
Lead Developer
Posts: 2656
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 182 times

Re: Different folder for products

Post by ecartz »

Better thread: https://forums.oscommerce.com/topic/496 ... ehandling/

That links to the current version, not the older version that it replaced.
vmn
Posts: 40
Joined: Mon Mar 08, 2021 8:59 am
Has thanked: 3 times
Been thanked: 1 time

Re: Different folder for products

Post by vmn »

admin
Site Admin
Site Admin
Posts: 140
Joined: Wed Oct 30, 2019 1:34 pm
Has thanked: 20 times
Been thanked: 21 times

Re: Different folder for products

Post by admin »

vmn wrote: Thu Apr 01, 2021 7:07 am This is what I did:
https://forums.oscommerce.com/topic/496 ... nt-1816659
Contents of that link will probably disappear with that Club soon so it will become a dead link.
It might be best not to post links to that Club here.
Maybe copy the post here if you want.
shopify
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Has thanked: 23 times
Been thanked: 3 times

Re: Different folder for products

Post by shopify »

This is not quite what I want. I've tried that linked addon but can't get it to show images. It uses ftp - I think unnecessary. Addon is just too complex for my simple needs.

Is there someone on here who can modify the categories add "new_products" to save my first image in images/prod1.jpg and save the second one loaded in image field to images/models/prod1.jpg ?

Also same way we add images, if I click delete product image, then both saved images above should be deleted from both folders.

This is what I need and it's as functional as is simple. I have no need for fancy stuff. Simplicity is best
ecartz
Lead Developer
Lead Developer
Posts: 2656
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 182 times

Re: Different folder for products

Post by ecartz »

shopify wrote: Thu Apr 01, 2021 12:05 pm Is there someone on here who can modify the categories add "new_products" to save my first image in images/1.jpg and save the second one loaded in image field to images/models/1.jpg ?
I would think that any of the certified developers could do that. I would suggest contacting them directly to ask (via PM, their websites, or email). As they may not be following this thread. Rainer (@raiwa) already has KISS IT, which works with images.

The older version of the add-on (not the one that I linked) worked more like that.
Post Reply