[Typo3-shop] Multi shop ??

Piotr Burda pburda at narty.pl
Tue Nov 22 23:28:48 CET 2005


I try to implement two separate shops in one typo3 site.

My tree looks like:

page1
page2
.
.
.
Shop one
	- Group 1
	- Group 2
	- basket
	-tracking

Shop 2
	-Group 3
	- group 4
	basket
	tacking


And now comes my problems:

1. how to separate baskets? Now customer can make shopping in shop one, 
and unfortunatly (for me ) he can change the shop and add to his basket 
some products from shop 2.

2. on tracking page administrators of both shops see all orders, i found  in
typo3conf/ext/tt_products/pi/class.tx_ttproducts.php

=- line 2363

$res = 
$GLOBALS['TYPO3_DB']->exec_SELECTquery('uid,name,tracking_code,amount', 
'sys_products_orders', 'NOT deleted AND status!=0 AND status<100', '', 
'crdate');

if i add the pid of shop basket in sql where clause AND pid = 947
947 is a pid of basket - shop 1, i obtain a list with only shop one 
order. How to tranpit a variable with pid of each shop.

Sorry for my english.

Piotr Burda



More information about the TYPO3-project-tt-products mailing list