witrin / TypoGento

Integrating Magento with TYPO3.
15 stars 3 forks source link

How to change store view #26

Closed riker09 closed 12 years ago

riker09 commented 12 years ago

Sorry if I'm keeping you busy with what might be simple stuff for somebody with a lot more experience. But I'm willing to listen, read and learn. Can you please explain how to change the store view that gets used for the display of category or product pages?

My setup: I've installed a brand new Magento store and a Typo3 website. I've create a couple categories and a single simple product. I've created a second store view in Magento and named it "Typo3". In the Design settings I've changed the theme to "blank". How can I tell the TypoGento plugin to use this second storeview whenever a category or product page is displayed in Typo3?

witrin commented 12 years ago

The Magento store view is bound to the TYPO3 frontend language or, if not set, to the deprecated property tx_typogento_pi1.storeName. See also in the code and the how-to. I'll refactor the TypoScript interface soon, I also forgot to document this in the Wiki.