Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Can I share product image folder between 2 stores on same server?

    Ok I have two stores (wholesale and normal) I'd want them both to use one single image folder.... since they both use the same images and it would be absurd to put them twice. How can I change the other store to use images from the other folder

    normal store is .com/store/

    and wholesale is .com/store/wholesale/

    Both run independent zen cart but I'd like them both to use store/images/ folder for product images

    PLEAAASE HELP!

  2. #2
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    Any tips even?

  3. #3
    Join Date
    Oct 2009
    Location
    Netherlands - NB
    Posts
    146
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    Feature request section?

    I have no idea how to share your image directories. I guess you have to synchronize the image folders manually.

    Maybe some more experienced zencart coder can help you.

  4. #4
    Join Date
    Jan 2008
    Location
    Portland, Oregon USA
    Posts
    356
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    There is a multi-site contribution that you might look at.
    http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=563
    Doug

  5. #5
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    The path to the image folder is specified in the configure.php file. You can try to link it to the same directory for both of yout zencart installations

    Change
    Code:
    define('DIR_WS_IMAGES', 'images/');
    to

    Code:
    define('DIR_WS_IMAGES', '../images/');
    if you have an image folder at the same level as your zencart folders.

    Not sure of there are other dependencies. Give it a try

  6. #6
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    Thanks Tino I'll give it a try tomorrow.. I'll try to avoid too complicated multisite structures with this project...

  7. #7
    Join Date
    Feb 2007
    Location
    Barcelona
    Posts
    201
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    Have you tried doing a simlink at server?

  8. #8
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    Ok I tried the config.. But it did not work..

    Changing the admin config file led to complete disaster of all admin icons etc disappearing..

    Changing the includes config did not do actually anything.. Except the admin image upload does not work afterwards at all..

    Simlink seems quite confusing and hard.. Is there ANY other way?

  9. #9
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    If I'd set the includes/config to ../images it might work EXCEPT the admin uploader wouldn't upload the images to right dir.. Could I somehow alter the admin product image uploader to another url.. I tried to alter the admin/product.php but the file didn't make ANY sense to me... thanks!

  10. #10
    Join Date
    Mar 2005
    Location
    Helsinki
    Posts
    570
    Plugin Contributions
    0

    Default Re: Can I share product image folder between 2 stores on same server?

    Basically I'd live with it if this would apply only to additional images? So product pictures were uploaded normally but additional pictures would be fetched from the other store folder? Could it be done?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 2 stores... share the same image folder??
    By kitcorsa in forum General Questions
    Replies: 6
    Last Post: 22 Jul 2010, 09:56 AM
  2. Can 2 stores share one database
    By mach9 in forum General Questions
    Replies: 9
    Last Post: 16 Oct 2009, 10:27 AM
  3. Can I have multiple stores share one checkout?
    By mick_dodd in forum General Questions
    Replies: 6
    Last Post: 28 Apr 2009, 07:22 PM
  4. Share a database between stores
    By Lorissia in forum General Questions
    Replies: 11
    Last Post: 19 Dec 2006, 03:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR