[TYPO3-english] Typogento with two stores possible?

Tony Lush tlush at advancewm.com
Tue Apr 12 16:38:23 CEST 2011


We are trying to upgrade a site that has Typogento, and in the process 
splitting the Magento products into two "stores". We have two different 
instances of the fb_magento plugin set up, with each pointing to the 
respective parent category, and the typoscript adjust accordingly.

We are finding that the primary menu only works in the default store.

The menu setup TS for the second store is:

# Top Magento horizontal dropdown menu
#######################################
includeLibs.user_tx_fbmagento_navigation = 
EXT:fb_magento/lib/class.tx_fbmagento_navigation.php
page.1 {
subparts.MAGENTOTOPNAV = HMENU
subparts.MAGENTOTOPNAV.special = userfunction
subparts.MAGENTOTOPNAV.special{
       		userFunc = user_tx_fbmagento_navigation->categories
       		pid=183
       		startcategory=87
}
subparts.MAGENTOTOPNAV {
wrap =  |
entryLevel = 0
1 = TMENU
1 {
itemArrayProcFunc  = user_tx_fbmagento_navigation->clear
expAll=1
noBlur = 1
wrap = <ul class="adxm menu"> | </ul>
NO.wrapItemAndSub = <li class="hover2"> | </li>
ACT = 1
ACT {
    noBlur = 1
    wrapItemAndSub = <li class="active"> | </li>
}
}
2 = TMENU
2 {
itemArrayProcFunc  = user_tx_fbmagento_navigation->clear
expAll=1
noBlur = 1
wrap = <div class="hover2"><ul> | </ul></div>
NO {
wrapItemAndSub = <li> | </li>
}
}
3 = TMENU
3 {
itemArrayProcFunc  = user_tx_fbmagento_navigation->clear
expAll=1
noBlur = 1
wrap = <div class="hover2"><ul> | </ul></div>
NO {
wrapItemAndSub = <li> | </li>
}
}
}
}

And for the default store (working menu) it is identical except for the 
PID and Start category:

# Top Magento horizontal dropdown menu
#######################################
includeLibs.user_tx_fbmagento_navigation = 
EXT:fb_magento/lib/class.tx_fbmagento_navigation.php
page.1 {
subparts.MAGENTOTOPNAV = HMENU
subparts.MAGENTOTOPNAV.special = userfunction
subparts.MAGENTOTOPNAV.special{
       		userFunc = user_tx_fbmagento_navigation->categories
       		pid=186
       		startcategory=5
}
...

Is it possible with Typogento to operate two Magento store instances 
(one website) through TYPO3?

Thank you -- Tony


More information about the TYPO3-english mailing list