[TYPO3-commerce] Display of TOP-products

axel at zwo-null.de axel at zwo-null.de
Thu Sep 13 12:02:15 CEST 2007


Hello list,

	i am getting into the core of the commerce system as i wanted a 
	list of a category "top products" shown beside the regular
	commerce view.

	i have entered the following typoscript in the template:
### TOP-Produkte [Start]
lib.zusatzinfo < plugin.tx_commerce_pi1
lib.zusatzinfo {
	catUid = 42			# the category the top products are
assigned to
	showPageBrowser = 0	# hide the page browser
	displayTopProducts = 1	# maybe a flag that is usefull
	numberOfTopproducts= 10	# the maximal count of products i want to
show
	singleProduct = 0		# always display in list view
	overrideFlexForm = 1  	# my own extension to get over the "flexform
overrides ts config" behavior
}
### TOP-Produkte [Ende]

	is this, modifying the source of the class.tx_commerce_pi1.php file,
the only possible way
	or is there an other solution of displaying products of a fixed
category?

Best wishes 
Axel



More information about the TYPO3-project-commerce mailing list