How to duplicate category list on individual product pages?

Hello!
My client loves this component so much, he would like to duplicate it on the product description pages, not just the index page, so it is seen throughout the site. Is this possible, and if so, how do I do this? Thanks.

5 answers

Profile photo of JA Developer 0.00 $tone October 26, 2009
Public

Hi tracy03

Please try with my guider:

+ Create jmcategorylist.xml in layout folder

+ Copy my code into this file:

HTML Code:

<?xml version="1.0"?>
<layout version="0.1.0">
	<default>
        <reference name="head">	
        	<action method="addCss"><stylesheet>joomlart/jmcategorylist/css/jm.categorylist.css</stylesheet></action>
        </reference>
    </default>     

   <catalog_product_view>
        <reference name="content">		
			<block type="joomlart_jmcategorylist/list" name="jmcategorylist" >
				<action method="set">					
					<show>1</show>
					<title>You May Also Like:</title>					
					<mode>latest</mode>
					<showcat>0</showcat>
					<link_cat>0</link_cat>
					<catsid>4,83,75,12,87,37</catsid>
					<perrow>3</perrow>
					<leading_product>1</leading_product>
					<intro_product>2</intro_product>
					<maxchar>0</maxchar>
					<template>joomlart/jmcategorylist/list.phtml</template>
				</action>							
			</block>
        </reference>
    </catalog_product_view>
    
</layout>
#1
Profile photo of a tracy 0.00 $tone November 20, 2009
Public

I try doing this but when I do, I get a 500 Server Error on my product pages after uploading that .xml file to the folder. When I delete the .xml file my product pages show up again. It’s only the product pages -- the main page and category layout pages aren’t affected.

#4

This question is now closed

Written By

Comments