| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  Mark Forums Read |  User manuals |  Login | 
|  | 
| Add module to catagory view | |||
|  |  | ||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Add module to catagory view What template do I have to edit to add a new module underneath the product in the catagory view Also How do I remove these Sort by:Product Price Default See screenshot Thanks in advance 
				__________________ X Cart Version 4.1.11 | |||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Add module to catagory view Quote: 
 "skin1/customer/main/subcategories.tpl" >> 2) Also How do I remove these open file "skin1/customer/main/subcategories.tpl" and "skin1/customer/main/search_result.tpl", find and comment next lines : subcategories.tpl PHP Code: 
		search_result.tpl PHP Code: 
		 | |||||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Add module to catagory view Thanks for the reply I have added the module to the catagory page See screenhot attached. The code in the module is the following Code: 
 I want the custom module to have the title What else do I need? Also remove the folder icon The code above is taken from my custom catagoris block on the homepage what do I need to change to get what I need please? Also how do I make this module show up on certain catagories not all of them? 
				__________________ X Cart Version 4.1.11 | |||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Add module to catagory view Quote: 
 You better use next construction with "dialog.tpl". PHP Code: 
		 | |||||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Add module to catagory view Thanks for the reply Also how do I make this module show up on certain catagories not all of them? Will I need to use a php if statement? 
				__________________ X Cart Version 4.1.11 | |||||||
| 
			 
			#6  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Add module to catagory view Can anyone advise me on this please. This is the end of my /customer/main/subcategories.tpl Code: 
 I have added the Code: 
 Can I add a php if statement to tell this bit of code to only show up on certain catagories by using the catagories id Thankyou  
				__________________ X Cart Version 4.1.11 | |||||||
| 
			 
			#7  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Add module to catagory view What specifically do you want to display in this block? PS. If you want to use only on the categories pages, you can use for that the file home.php. | |||||||||
| 
			 
			#8  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Add module to catagory view OK this is what I am trying to do. Here is a catagory with products in it and my custom block at the bottom which tells the user they need these products as well http://www.rapidvisionsystems.com/home.php?cat=19 The problem I have is the custom block I have made shows up on this catagory http://www.rapidvisionsystems.com/home.php?cat=20 But the custom block has the same products as the main products above. I need away to tell that custom block to show up only on certain catagories. Thanks 
				__________________ X Cart Version 4.1.11 | |||||||
| 
			 
			#9  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Add module to catagory view Anyone   
				__________________ X Cart Version 4.1.11 | |||||||
|  |  | 
| Thread Tools | Search this Thread | 
| 
 | 
 | 
|  | |||
| 
X-Cart forums © 2001-2020
 | |||