Different folder for products

Open to all! Ask other shopowners for help.
shopify
Member
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Phoenix Version:
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>


Join The Code Co-op to get access to your library in the Code Co-op Forum
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
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
Senior Contributor
Posts: 922
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 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
Member
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Phoenix Version:
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
Senior Contributor
Posts: 498
Joined: Fri Oct 25, 2019 2:14 pm
Phoenix Version: 1.0.8.21
Has thanked: 67 times
Been thanked: 61 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
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 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.
admin
Contributor
Posts: 217
Joined: Wed Oct 30, 2019 1:34 pm
Phoenix Version:
Has thanked: 20 times
Been thanked: 22 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
Member
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Phoenix Version:
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
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply