Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default 2 stores... share the same image folder??

    I have 2 stores. One is online sales room and other is online catolog for the shop (no sales through this site)

    is it possible to have both site to share the same image folder ie the image folder from the online store site... or the onlien catolog.

    basically my online prices and store prices are different so what i would like to do is create the items on one of the carts then using easy populate populare the second site with prices changes.

    This would require me to copy the image folder over from first site... where i would like to just make the other site look at the image folder of the other site. Both sites are on the same server just with subdomains/addon domains.

    Also IH2 installed on both.

    Cheers

  2. #2
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: 2 stores... share the same image folder??

    could i not change the config file to something like...

    define('DIR_WS_IMAGES', 'http://www.mystore.co.uk/images/');

    or even

    define('DIR_WS_IMAGES', '/home/account/public_html/images/');

  3. #3
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: 2 stores... share the same image folder??

    tried define('DIR_WS_IMAGES', 'http://www.mystore.co.uk/images/'); and it works to a degree but only brings in a tiny image.

  4. #4
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: 2 stores... share the same image folder??

    well it seem to work fine, turn off both sites IH2 and this made no difference... however the second site which is grabbing the images from the first site is only displaying the small image size for all images... if i change small image size in admin on the second size it increase the product image on the product image display screen but also changes all the catogy images etc also.

    the pop up images is also showing only the small image 80x100 and when i check the image url it is linking to the large image on site one....

    Any one have any ideas???

  5. #5
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: 2 stores... share the same image folder??

    no one have any ideas???

    or does anyone know a code that will copy the contence of a folder to another folder on a sever??

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: 2 stores... share the same image folder??

    I have a Zen Cart in two locations on 1 domain where one is in:
    /golfing

    and the other is in:
    /soccer

    So I edited the file:
    /includes/configure.php

    to use for the images in /includes/configure.php:
    define('DIR_WS_IMAGES', '../golfing/images/');

    and for the images in /admin/includes/configure.php
    define('DIR_FS_CATALOG_IMAGES', '/home/my_username/public_html/golfing/' . 'images/');

    and keep the images in the:
    /golfing/images

    directory for both sites ...

    I have not tested this for everything but it does seem to work for what I have tested so far ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: 2 stores... share the same image folder??

    cheers fella... mine are on the same server but differernt domains (as my online store prices are different to instore prices and dont want customers to know we have online store as well as store website..... there is a good reason for this)

    i tried changing the the to use for the images in /includes/configure.php:
    define('DIR_WS_IMAGES', '../golfing/images/');

    this worked but for some reason rescaled all the images on the other site to small.

    didn't change the admin config though will try this later and see if this will help.

 

 

Similar Threads

  1. Replies: 10
    Last Post: 2 Dec 2009, 12:57 PM
  2. share the same database with 2 zen cart shops
    By thenax in forum General Questions
    Replies: 6
    Last Post: 23 Jun 2009, 06:22 PM
  3. 2 stores on the same site using the same paypal account, potential problems?
    By nigelt74 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 5 Dec 2007, 10:30 PM
  4. How to make the medium and large size share the same pic ?
    By OhISeekYou in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Sep 2007, 06:50 PM

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