Hi,
Thanks for the update. You're obviously not in the UK or topping up the tan would be impossible - we're having a terrible August; more autumnal than August.
Cheers,
Eddie
Hi,
Thanks for the update. You're obviously not in the UK or topping up the tan would be impossible - we're having a terrible August; more autumnal than August.
Cheers,
Eddie
Check my conditions:
- I have 3 different stores, all in same server,
- I have 1 merchant account, with 1 SSL, and want it to administer payment for all 3 stores.
How it would be possible to have all stores checkout using the 1 ssl, and then return to their sites?
Would SSL warnings popup?
This was the direction in the beggining of the topic, but it changed towards other requests.
Can this be done? Since having three different SSLs would cost much more, it´s way more cost-effective.
Thanks in advance,
Groowine.
I have about 25 shops all running through one main zencart store that I can access the admin of to process orders from any of the shops.
Here is an example of how I did it
Setup hosting for a domain and set the username to shop1
Install a zencart site on it and populate it with all of your products
Setup another domain with the user set as shop2
Then ssh onto your server
cp -R /home/shop1/public_html/* /home/shop2/public_html/
When asked to overwrite files choose yes for all
Next symlink the images folders
ln -s /home/shop1/public_html/images/* /home/shop1/public_html/images
Then change the ownership on the shop2 files
chown -R shop2 /home/shop2/public_html/*
Now ftp into the shop2 domain and change the paths in includes/configure.php
Make any changes to your language files or graphics that are nescessary
Edit the categories sidebox SQL Select to only pull the categories you want.
To make a new shop all be it uncustomised will only take you about 5 minutes.
Remember not to make any changes to the database as this will effect all shops
The main shop uses Secure Hosting (3rd party) to process the credit cards
This may all sound a bit straight forward but you have to understand that my system has to get all of the data for the zencart database from an Actinic Ecommerce Access database and that all product images must be uploaded to the server from Actinic daily. There are in excess of 12,000 products.
Anything is possible.
UK based Zen Cart Web Designer here www.handcoded.co.uk
Wow ! That's impressive ! A few questions here :Originally Posted by longstockings
Did you mean :ln -s /home/shop1/public_html/images/* /home/shop1/public_html/images
ln -s /home/shop1/public_html/images/* /home/shop2/public_html/images ?
Would you mind to tell us more about this step :
Lastly, do I have to use Actinic Ecommerce Access database to achieve this?Edit the categories sidebox SQL Select to only pull the categories you want
Thanks in advance !
Actinic is not needed but the customer is still using this Ecommerce system. Really it's just an extra step I needed to work around which took ages.
To achieve a custom category list I edited category_tree.php in includes/classes/
I changed the original sql query by adding this
and cd.categories_name LIKE '%KEYWORD%'
where KEYWORD is the word that appears in your category names that you want to show on your shop
Like this
class category_tree {
function zen_category_tree($product_type = "all") {
global $db, $cPath, $cPath_array;
if ($product_type != 'all') {
$sql = "select type_master_type from " . TABLE_PRODUCT_TYPES . "
where type_master_type = '" . $product_type . "'";
$master_type_result = $db->Execute($sql);
$master_type = $master_type_result->fields['type_master_type'];
}
$this->tree = array();
if ($product_type == 'all') {
$categories_query = "select c.categories_id, cd.categories_name, c.parent_id
from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
where c.parent_id = '0'
and c.categories_id = cd.categories_id
and cd.language_id='" . (int)$_SESSION['languages_id'] . "'
and c.categories_status= '1'
and cd.categories_name LIKE '%KEYWORD%'
order by sort_order, cd.categories_name";
} else {
$categories_query = "select ptc.category_id as categories_id, cd.categories_name, c.parent_id
from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_PRODUCT_TYPES_TO_CATEGORY . " ptc
where c.parent_id = '0'
and ptc.category_id = cd.categories_id
and ptc.product_type_id = '" . $master_type . "'
and c.categories_id = ptc.category_id
and cd.language_id='" . (int)$_SESSION['languages_id'] ."'
and c.categories_status= '1'
order by sort_order, cd.categories_name";
This is just an example of one way you could accomplish this.
Hope the info is of use
UK based Zen Cart Web Designer here www.handcoded.co.uk
Absolute! You are 'absolutely!' amazing. This is exactly what I am looking for! (How many times have you heard that?). Is this mod available for use/testing yet? I have a real dilemma on my hands with 8 stores and I've been researching mall software but I love Zen cart.
You are creating a great Zen Mall here! Can't wait to hear the latest.
Lorissia
(btw...nice tan!)
Ah, Lorissia, flattery will get you everywhere!
I've been slightly bogged down with other work recently, and this mod has gone undeveloped for about a month. It is currently being used in a test environment, without any issues, but there are still a few extras that need to be coded. Plus with the recent release of 1.3.5, I need to make sure its cross-Zen compatible.
Hopefully this will be released within the next couple of weeks. Sorry for the delay, I promise it'll be soon.
Absolute
hi
could anyone tell me where to download this contribution?
i am really new to ZC.
thanks!
jacopo
I don't believe this contribution is done yet. I am also waiting with baited breath! This is the perfect solution to what I need right now.
Maybe if we send him some home-baked chocolate chip cookies?
L.
hey absolute , how is this mod going ?
I will soon be at the stage where I have to do exactly the same thing as your coding , so dont mind beta testing it for you if you need it.
Various Zen cart sites !
Bookmarks