[TYPO3-commerce] Link the article picture to the product detail view

Morten Olesen mo at idefa.dk
Wed Aug 27 08:24:24 CEST 2008


Hey Christian,

Unless I've misread your post - this is what you want;

search for "How do I link the teaser image to the product page?" in
the commerce wiki ( http://wiki.typo3.org/index.php/EXT/commerce/manual )

/Morten Olesen

christian wrote:
> Hello,
> Here is my ###CATEGORY_ITEMS_LISTVIEW_2### subpart :
> 
> <!-- ###CATEGORY_ITEMS_LISTVIEW_2### begin-->
> 
> 	<!-- ###PRODUCT_BASKET_FOR_LISTVIEW### -->
> 	
> 		<!-- ###ARTICLE_VIEW### -->
> 		<li>###ARTICLE_IMAGES###
> 		<form name="###ARTICLE_FORMNAME###" action="###ARTICLE_FORMACTION###"
> method="post">
> 		###ARTICLE_HIDDENCATUID###
> 		###ARTICLE_HIDDENFIELDS###
> 		<span> 
> 		   ###ARTICLE_TITLE###
> 			###ARTICLE_SELECT_ATTRIBUTES###
> 			###ARTICLE_PRICE_GROSS###
> 		</span>
> 		<input type="image" value="Add to basket"
> src="fileadmin/templates/pics/add_basket.jpg" /></li>
> 		</form>	
> 		<!-- ###ARTICLE_VIEW### -->
> 		
> 		<!-- ###ARTICLE_VIEW_NOSTOCK### --> 
> 		[...]
> 	<!-- ###ARTICLE_VIEW_NOSTOCK### -->
> 	<!-- ###PRODUCT_BASKET_FOR_LISTVIEW### -->
> <!-- ###CATEGORY_ITEMS_LISTVIEW_2### end -->
> 
> I'd like to make a link to the product view in the article subpart to
> link for instance the article picture to its product.
> 
> What i tried to do :
> 
> lib.tx_commerce.articles.fields {
> title >
> title = stdWrap
> title {
> #
> # Here i'm lost :'(
> #
> typolink.parameter = ???
> wrap = |
> }
> 
> }
> 
> plugin.tx_commerce_pi1.singleView.articles.fields.title <
> lib.tx_commerce.articles.fields.title
> 
> Can someone help me please ?
> Thanks
> 


More information about the TYPO3-project-commerce mailing list