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

christian christian at typo3journal.info
Wed Aug 27 08:06:33 CEST 2008


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