Project Description:
I have a couple of webshops made in opencart 1531 wich are used by different people.
They all have same products each about 5000+
Because it uses to much webspace to have every domain with its own product images the image folder is on a seperate domain.
So the images are on domain A and all the webshops (domain B,C,D, etc) take the images from domain A.
This works perfect, except for 1 thing.
The banners and other normal store pictures are also stored on domain A.
For example when domain C removes all banners in his banner folder then it is possible for C to remove the banners from B, D, etc. because they all have access to the same folder.
I want each domain to have access only to his own folder and still have all products use the same domain to save huge on server space.
What i need is to have the product images on domain A but the other images on the shop its own domain.
In both config.php files i can simply change the 3 image directories links like this:
define('HTTP_IMAGE', 'http://www.DOMAIN-A/shopimages/');
define('HTTP_IMAGE_2', 'http://www.OWNDOMAINl/image/');
define('HTTPS_IMAGE', 'http://www.DOMAIN-Al/shopimages/');
define('HTTPS_IMAGE_2', 'http://OWNDOMAINl/image/');
define('DIR_IMAGE', '/home/DOMAIN-A/public_html/shopimages/');
define('DIR_IMAGE_2', '/home/OWNDOMAIN/image/');
But ofcourse the files in the store and admin also needs to be changed.
I need this in a vqmod so its easy to install in all stores.
For more questions please pm me.
No budget, asap done.