Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.
You are not logged in.
Hi all,
I have a common database for multiple shops and want to change the product_pictures directory in a link from another site on the same server that has it's own product_picture files.
Example:
site A: has the product_pictures folder here: public_html/a/published/...../product_pictures . (let's say something.com)
site B: has the product_pictures folder here: public_html/b/published/...../product_pictures . (let's say something.net)
Case 1:
I want in site B the product pictures shown to client to be from the folder of A (public_html/a/published/...../product_pictures). - i made changes, it works but when uploading new products in site A they doesn't appear in B. - only if they are olso in the B's folder.
OR
Case 2:
When I upload a file in A (public_html/a/published/...../product_pictures) it automatically goes to B (public_html/b/published/...../product_pictures)
PLEASE HELP !
Thanks
Offline
Please help me with an example. I don't understanded so much from wikipedia.
I have to edit the .htaccess file ?
Thanks !
Offline
No, you have to use server command ln -s which creates a symlink. You should assign this task to a skilled specialist if you do not quite understand what it means. And this is only possible, if your web host provides ssh access to the server. If not, you may ask them to make this change.
Online
I can use php handling to upload automatically in multiple folders ? If it-s possible where to edit the uploading pictures file from admin area ?
Offline
Look at file published/SC/html/scripts/modules/products/_methods/b_product_settings.php and specifically at function upload_picture.
Online