Forums / General Questions / Retail And Wholesale Store Sharing Same Pictures

Retail And Wholesale Store Sharing Same Pictures

Locked

Views: 2,594

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
16 Jun 2007, 4:34 AM
#1
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Retail And Wholesale Store Sharing Same Pictures

I would like to have 2 stores setup on the same domain. 1 store would be my retail store (domain home) and the other store would be my wholesale store (domain/wholesale). I would like for the wholesale store to use the retail stores pictures as this seems like a logical thing to do to save space and probably increase performance. Is there some easy fix I can do to get the pictures on the wholesale site to look in the retail stores image folder?

Thank you!

16 Jun 2007, 4:40 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Retail And Wholesale Store Sharing Same Pictures

Might be easier to have a look at the "Dual Pricing" module in the downloads area as I believe that this allows 2 pricing levels in the SAME shop....where you allow only those that you want to see them....

But yes you can point one of the shops to a specific folder/dir for the product images

Zen-Venom Get Bitten

16 Jun 2007, 4:52 AM
#3
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Retail And Wholesale Store Sharing Same Pictures

Thanks for the suggestion but I really don't want to use the dual pricing mode.

If somebody could point me in the right direction to how to modify the code to look at another directory I would greatly appreciate it.

Thanks!

16 Jun 2007, 5:13 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Retail And Wholesale Store Sharing Same Pictures

While I have not done this I believe you can repoint this in your 2 configure.php files - look for this (highlight mine) and read what I have emphasized in blue... this if it is is going to work will need a full hard coded path as it is red as relative. Might have to move it elsewhere.....and maybe another that has done this might post...

Just make sure that you have local copies of the originals and know where they are if it messes things up - just replace with the originals

[CODE]// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');[CODE]

Zen-Venom Get Bitten

16 Jun 2007, 6:02 AM
#5
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Retail And Wholesale Store Sharing Same Pictures

Thank Kobra,

I think you are on to something. It may not be easy to use the Retail Sites Pictures but maybe it would be easy to use the wholesale sites pictures as it would be accessible to the retail sites directory path? If anyone has any other solutions I would love to hear them. I am not anxious to try this solution but might could try with the admin folder just for grins.

Thanks!