[Skip to main content](#vessel-content)

#   How do I display product code in prodict listings?

##

- **[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")**
- [![riv&#95;dev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3075-riv-dev "View riv&#95;dev's Profile") Topic Author
- [ Offline](/forum/user/3075-riv-dev)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 4 months ago [\#19802](#19802) by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")  *[How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#19802 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")* was created by *[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")*

Hi guys

First off; hikashop is an awesome alternative to virtuemart. Great work.

Could someone please tell me how I include the product code in product listing.

I want the following site: -
[ ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67](http://ukcctvlimited.co.uk/index.php?option=com_hikashop&ctrl=category&task=listing&cid=18&name=dome-cameras&Itemid=67)

To look like this: -
[ e-dis.net/Products/category/CCTV+Cameras...thing\_/man/\_nothing\_](http://e-dis.net/Products/category/CCTV+Cameras+Domes/keywords/_nothing_/man/_nothing_)

I want customers to see:
Product image, product code, and product description

I've gone through every single post in forum regarding product_code and to no joy.

Taking out following code from front-end css does not work either.
.hikashop_product_code_main{
display:none;
}

Any help would be most appreciated.

Many thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

15 years 4 months ago [\#19803](#19803) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#19803 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

You need to go in the menu Display-&gt;Views and edit the file listing_table. There, you will need to add a new column in the table tag in order to show the product code in there.
You will also have to add the product description display after the product name in that same file.
For the price and the add to cart button, you need to go in the menu Display-&gt;Content modules and edit your module with the id 53. There, you have options to activate them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")**
- [![riv&#95;dev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3075-riv-dev "View riv&#95;dev's Profile") Topic Author
- [ Offline](/forum/user/3075-riv-dev)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 4 months ago [\#19805](#19805) by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")  Replied by *[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#19805 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

wow - talk about awesome customer support.

I shall action what you suggest and get back to you.

Thank you again for the super quick response.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")**
- [![riv&#95;dev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3075-riv-dev "View riv&#95;dev's Profile") Topic Author
- [ Offline](/forum/user/3075-riv-dev)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 4 months ago -  15 years 4 months ago [\#19808](#19808) by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")  Replied by *[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#19808 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

I've been looking at product/listing_table.php for an hour now. I have zero php experience which doesn't help ![:-(](/media/kunena/emoticons/4.png ":-(")

I thought I'd done it, but not quite.
[ ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67](http://ukcctvlimited.co.uk/index.php?option=com_hikashop&ctrl=category&task=listing&cid=18&name=dome-cameras&Itemid=67)

Here is code. Am I on the right track? (additions I made are in red)

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.5.0
* @author hikashop.com
* @copyright (C) 2010-2011 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;?php
if(!empty($this-&gt;rows)){
if($this-&gt;config-&gt;get('pagination','bottom')=='top' &amp;&amp; $this-&gt;params-&gt;get('show_limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt;
&lt;form action="&lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::getWord('task').$this-&gt;itemid.'&amp;cid='.reset($this-&gt;pageInfo-&gt;filter-&gt;cid)); ?&gt;" method="post" name="adminForm_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;"&gt;
&lt;div class="hikashop_products_pagination"&gt;
&lt;?php echo $this-&gt;pagination-&gt;getListFooter(); ?&gt;
&lt;span class="hikashop_results_counter"&gt;&lt;?php echo $this-&gt;pagination-&gt;getResultsCounter(); ?&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;input type="hidden" name="filter_order_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;" /&gt;
&lt;input type="hidden" name="filter_order_Dir_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;" /&gt;
&lt;?php echo JHTML::_( 'form.token' ); ?&gt;
&lt;/form&gt;
&lt;?php } ?&gt;
&lt;div class="hikashop_products"&gt;
&lt;?php
$columns = 1; ?&gt;
&lt;table class="hikashop_products_table adminlist" cellpadding="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;?php if($this-&gt;config-&gt;get('thumbnail')){ $columns++; ?&gt;
&lt;th class="hikashop_product_image title" align="center"&gt;
&lt;?php echo JText::_( 'HIKA_IMAGE' );?&gt;
&lt;/th&gt;
&lt;?php } ?&gt;
&lt;th class="hikashop_product_name title" align="center"&gt;
&lt;?php echo JText::_( 'Description' );?&gt;
&lt;/th&gt;
&lt;th class="hikashop\_product\_code title" align="center"&gt;
&lt;?php echo JText::\_( 'Product Code' );?&gt;
&lt;/th&gt;
&lt;?php if($this-&gt;params-&gt;get('show_price')){ $columns++; ?&gt;
&lt;th class="hikashop_product_price title" align="center"&gt;
&lt;?php echo JText::_('PRICE'); ?&gt;
&lt;/th&gt;
&lt;?php } ?&gt;
&lt;?php if($this-&gt;params-&gt;get('add_to_cart')){ $columns++; ?&gt;
&lt;th class="hikashop_product_add_to_cart title" align="center"&gt;
&lt;/th&gt;
&lt;?php } ?&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td colspan="&lt;?php echo $columns; ?&gt;"&gt;
&lt;?php if($this-&gt;config-&gt;get('pagination','bottom')=='bottom' &amp;&amp; $this-&gt;params-&gt;get('show_limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt;
&lt;form action="&lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::getWord('task').$this-&gt;itemid.'&amp;cid='.reset($this-&gt;pageInfo-&gt;filter-&gt;cid)); ?&gt;" method="post" name="adminForm_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;"&gt;
&lt;div class="hikashop_products_pagination"&gt;
&lt;?php echo $this-&gt;pagination-&gt;getListFooter(); ?&gt;
&lt;span class="hikashop_results_counter"&gt;&lt;?php echo $this-&gt;pagination-&gt;getResultsCounter(); ?&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;input type="hidden" name="filter_order_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;" /&gt;
&lt;input type="hidden" name="filter_order_Dir_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;" /&gt;
&lt;?php echo JHTML::_( 'form.token' ); ?&gt;
&lt;/form&gt;
&lt;?php } ?&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;tbody&gt;
&lt;?php foreach($this-&gt;rows as $row){
$this-&gt;row =&amp; $row;
$link = hikashop::completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway); ?&gt;
&lt;tr&gt;
&lt;?php if($this-&gt;config-&gt;get('thumbnail')){ ?&gt;
&lt;td class="hikashop_product_image_row"&gt;
&lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt;
&lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt;
&lt;?php }
echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;file_name));
if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;/a&gt;
&lt;?php } ?&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;?php } ?&gt;
&lt;td class="hikashop_product_name_row"&gt;
&lt;span class="hikashop_product_name"&gt;
&lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;a href="&lt;?php echo $link;?&gt;"&gt;
&lt;?php }
echo $this-&gt;row-&gt;product_name;
if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
echo $this-&gt;row-&gt;product\_name;
if($this-&gt;params-&gt;get('link\_to\_product\_code',1)){ ?&gt;
&lt;/a&gt;
&lt;?php } ?&gt;
&lt;/span&gt;
&lt;/td&gt;
&lt;?php if($this-&gt;params-&gt;get('show_price')){ ?&gt;
&lt;td class="hikashop_product_price_row"&gt;
&lt;?php
$this-&gt;setLayout('listing_price');
echo $this-&gt;loadTemplate();
?&gt;
&lt;/td&gt;
&lt;?php } ?&gt;
&lt;?php if($this-&gt;params-&gt;get('add_to_cart')){ ?&gt;
&lt;td class="hikashop_product_add_to_cart_row"&gt;
&lt;form action="&lt;?php echo hikashop::completeLink('product&amp;task=updatecart'); ?&gt;" method="post" name="hikashop_product_form_&lt;?php echo $this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name'); ?&gt;"&gt;&lt;?php
$this-&gt;params-&gt;set('show_quantity_field', 2);
$this-&gt;ajax='';
$this-&gt;setLayout('quantity');
echo $this-&gt;loadTemplate();
?&gt;
&lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;row-&gt;product_id; ?&gt;" /&gt;
&lt;input type="hidden" name="add" value="1"/&gt;
&lt;input type="hidden" name="ctrl" value="product"/&gt;
&lt;input type="hidden" name="task" value="updatecart"/&gt;
&lt;/form&gt;
&lt;/td&gt;
&lt;?php } ?&gt;
&lt;/tr&gt;
&lt;?php } ?&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

Last edit: 15 years 4 months ago by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")**
- [![riv&#95;dev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3075-riv-dev "View riv&#95;dev's Profile") Topic Author
- [ Offline](/forum/user/3075-riv-dev)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 4 months ago [\#19811](#19811) by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")  Replied by *[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#19811 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

For those who come across this issue of placing product code or any other column in product listing, here is the solution. (Don't ask me how I did it, considering I know zero php)...

Additions in red

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.5.0
* @author hikashop.com
* @copyright (C) 2010-2011 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;?php
if(!empty($this-&gt;rows)){
if($this-&gt;config-&gt;get('pagination','bottom')=='top' &amp;&amp; $this-&gt;params-&gt;get('show_limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt;
&lt;form action="&lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::getWord('task').$this-&gt;itemid.'&amp;cid='.reset($this-&gt;pageInfo-&gt;filter-&gt;cid)); ?&gt;" method="post" name="adminForm_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;"&gt;
&lt;div class="hikashop_products_pagination"&gt;
&lt;?php echo $this-&gt;pagination-&gt;getListFooter(); ?&gt;
&lt;span class="hikashop_results_counter"&gt;&lt;?php echo $this-&gt;pagination-&gt;getResultsCounter(); ?&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;input type="hidden" name="filter_order_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;" /&gt;
&lt;input type="hidden" name="filter_order_Dir_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;" /&gt;
&lt;?php echo JHTML::_( 'form.token' ); ?&gt;
&lt;/form&gt;
&lt;?php } ?&gt;
&lt;div class="hikashop_products"&gt;
&lt;?php
$columns = 1; ?&gt;
&lt;table class="hikashop_products_table adminlist" cellpadding="1"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;?php if($this-&gt;config-&gt;get('thumbnail')){ $columns++; ?&gt;
&lt;th class="hikashop_product_image title" align="center"&gt;
&lt;?php echo JText::_( 'HIKA_IMAGE' );?&gt;
&lt;/th&gt;
&lt;?php } ?&gt;
&lt;th class="hikashop_product_name title" align="center"&gt;
&lt;?php echo JText::_( 'Description' );?&gt;
&lt;/th&gt;
&lt;th class="hikashop\_product\_code title" align="center"&gt;
&lt;?php echo JText::\_( 'Product Code' );?&gt;
&lt;/th&gt;
&lt;?php if($this-&gt;params-&gt;get('show_price')){ $columns++; ?&gt;
&lt;th class="hikashop_product_price title" align="center"&gt;
&lt;?php echo JText::_('PRICE'); ?&gt;
&lt;/th&gt;
&lt;?php } ?&gt;
&lt;?php if($this-&gt;params-&gt;get('add_to_cart')){ $columns++; ?&gt;
&lt;th class="hikashop_product_add_to_cart title" align="center"&gt;
&lt;/th&gt;
&lt;?php } ?&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td colspan="&lt;?php echo $columns; ?&gt;"&gt;
&lt;?php if($this-&gt;config-&gt;get('pagination','bottom')=='bottom' &amp;&amp; $this-&gt;params-&gt;get('show_limit') &amp;&amp; $this-&gt;pageInfo-&gt;elements-&gt;total &gt; $this-&gt;params-&gt;get('limit')){ ?&gt;
&lt;form action="&lt;?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&amp;task='.JRequest::getWord('task').$this-&gt;itemid.'&amp;cid='.reset($this-&gt;pageInfo-&gt;filter-&gt;cid)); ?&gt;" method="post" name="adminForm_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;"&gt;
&lt;div class="hikashop_products_pagination"&gt;
&lt;?php echo $this-&gt;pagination-&gt;getListFooter(); ?&gt;
&lt;span class="hikashop_results_counter"&gt;&lt;?php echo $this-&gt;pagination-&gt;getResultsCounter(); ?&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;input type="hidden" name="filter_order_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;value; ?&gt;" /&gt;
&lt;input type="hidden" name="filter_order_Dir_&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected;?&gt;" value="&lt;?php echo $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;dir; ?&gt;" /&gt;
&lt;?php echo JHTML::_( 'form.token' ); ?&gt;
&lt;/form&gt;
&lt;?php } ?&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;tbody&gt;
&lt;?php foreach($this-&gt;rows as $row){
$this-&gt;row =&amp; $row;
$link = hikashop::completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway); ?&gt;
&lt;tr&gt;
&lt;?php if($this-&gt;config-&gt;get('thumbnail')){ ?&gt;
&lt;td class="hikashop_product_image_row"&gt;
&lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt;
&lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt;
&lt;?php }
echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;file_name));
if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;/a&gt;
&lt;?php } ?&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;?php } ?&gt;
&lt;td class="hikashop_product_name_row"&gt;
&lt;span class="hikashop_product_name"&gt;
&lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;a href="&lt;?php echo $link;?&gt;"&gt;
&lt;?php }
echo $this-&gt;row-&gt;product_name;
if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;
&lt;/a&gt;
&lt;?php } ?&gt;
&lt;/span&gt;
&lt;/td&gt;

&lt;td class="hikashop\_product\_code\_row"&gt;
&lt;span class="hikashop\_product\_code"&gt;
&lt;?php if($this-&gt;params-&gt;get('link\_to\_product\_page',1)){ ?&gt;
&lt;a href="&lt;?php echo $link;?&gt;"&gt;
&lt;?php }
echo $this-&gt;row-&gt;product\_code;
if($this-&gt;params-&gt;get('link\_to\_product\_page',1)){ ?&gt;
&lt;/a&gt;
&lt;?php } ?&gt;
&lt;/span&gt;
&lt;/td&gt;

&lt;?php if($this-&gt;params-&gt;get('show_price')){ ?&gt;
&lt;td class="hikashop_product_price_row"&gt;
&lt;?php
$this-&gt;setLayout('listing_price');
echo $this-&gt;loadTemplate();
?&gt;
&lt;/td&gt;
&lt;?php } ?&gt;
&lt;?php if($this-&gt;params-&gt;get('add_to_cart')){ ?&gt;
&lt;td class="hikashop_product_add_to_cart_row"&gt;
&lt;form action="&lt;?php echo hikashop::completeLink('product&amp;task=updatecart'); ?&gt;" method="post" name="hikashop_product_form_&lt;?php echo $this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name'); ?&gt;"&gt;&lt;?php
$this-&gt;params-&gt;set('show_quantity_field', 2);
$this-&gt;ajax='';
$this-&gt;setLayout('quantity');
echo $this-&gt;loadTemplate();
?&gt;
&lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;row-&gt;product_id; ?&gt;" /&gt;
&lt;input type="hidden" name="add" value="1"/&gt;
&lt;input type="hidden" name="ctrl" value="product"/&gt;
&lt;input type="hidden" name="task" value="updatecart"/&gt;
&lt;/form&gt;
&lt;/td&gt;
&lt;?php } ?&gt;
&lt;/tr&gt;
&lt;?php } ?&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;?php } ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

15 years 4 months ago [\#19815](#19815) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#19815 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

Yes that's exactly that ![:)](/media/kunena/emoticons/8.png ":)")

Basically, it's a copy/paste of the product name column by replacing name by code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")**
- [![riv&#95;dev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3075-riv-dev "View riv&#95;dev's Profile") Topic Author
- [ Offline](/forum/user/3075-riv-dev)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 2 months ago -  15 years 2 months ago [\#22920](#22920) by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")  Replied by *[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#22920 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

Hi

I'm having problems duplicating the same layout you guys helped me solve for a new product category.

The layout required looks like this (this is the layout I want): -
[ ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67](http://ukcctvlimited.co.uk/index.php?option=com_hikashop&ctrl=category&task=listing&cid=18&name=dome-cameras&Itemid=67)

Now, after adding products to the the next menu item; Digital Video Recorders
The layout looks like this (NOT showing products in same format as 'CCTV Cameras' menu item: -
[ ukcctvlimited.co.uk/index.php?option=com...range-dvrs&amp;Itemid=68](http://ukcctvlimited.co.uk/index.php?option=com_hikashop&ctrl=category&task=listing&cid=21&name=54-range-dvrs&Itemid=68)

The listing_table file in menu Display-&gt;Views is the same for both categories, yet they show different layouts for products.

If anybody could help, I'd be most grateful. I have tried all options, and I am at a loss.

Many thanks

Last edit: 15 years 2 months ago by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

15 years 2 months ago [\#22928](#22928) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#22928 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

Hi,

You just need to you your listing_table layout in the associated module of your new menu. When you're on your menu's hikashop options, you can click on the associated module link to access the options of the module. There, just change the layout to table.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")**
- [![riv&#95;dev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3075-riv-dev "View riv&#95;dev's Profile") Topic Author
- [ Offline](/forum/user/3075-riv-dev)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 2 months ago -  15 years 2 months ago [\#22934](#22934) by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")  Replied by *[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#22934 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

Hi nicolas

I'm still having trouble finding the solution.

If I click on Display - content modules within 'hikashop options' the settings are same as 'cctv cameras' module which is how I want layout to look. See screenshot 1
[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/screen_shot_1.JPG) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/screen_shot_1.JPG "&#91;img")

Am I looking in the right place? Do I need to change any code?

"listing_table layout in the associated module of your new menu"
How do I do this. When hikashop options is clicked. It won't let me change Type of layout from div to table. Error message - 'The category content does not support table layout display'

Many thanks for your help.

- [ ![screen&#95;shot&#95;1.JPG](/forum/attachment/1570) ](/forum/attachment/1570 "screen&#95;shot&#95;1.JPG") [ ](/forum/attachment/1570?download=1 "screen&#95;shot&#95;1.JPG")

Last edit: 15 years 2 months ago by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile"). Reason: too waffly

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

15 years 2 months ago [\#22940](#22940) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#22940 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

You need to edit the hikashop options of the module with the id 57 and change the layout to table. That's the associated module of your menu.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")**
- [![riv&#95;dev's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3075-riv-dev "View riv&#95;dev's Profile") Topic Author
- [ Offline](/forum/user/3075-riv-dev)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 2 months ago [\#22968](#22968) by [riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")  Replied by *[riv\_dev](/forum/user/3075-riv-dev "View riv&#95;dev's Profile")* on topic *[Re: How do I display product code in prodict listings?](/forum/4-how-to/19802-how-do-i-display-product-code-in-prodict-listings#22968 "Hi guys  First off; hikashop is an awesome alternative to virtuemart. Great work.  Could someone please tell me how I include the product code in product listing.  I want the following site: -   ukcctvlimited.co.uk/index.php?option=com...me-cameras&amp;Itemid=67  To look like this: -   e-dis.net/Products/category/CCTV+Cameras...thing&#95;/man/&#95;nothing&#95;  I want customers to see: Product image, product code, and product description  I've gone through every single post in forum regarding product&#95;code and to no joy.  Taking out following code from front-end css does not work either. .hikashop&#95;product&#95;code&#95;main{ display:none; }  Any help would be most appreciated.  Many thanks")*

Hi Nicolas

I've managed to fix problem. All I can say is thank you sooooooo much. You guys are the best.

PS I wish Joomla wasn't so difficult to use.

Thank you again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5ODAyLWhvdy1kby1pLWRpc3BsYXktcHJvZHVjdC1jb2RlLWluLXByb2RpY3QtbGlzdGluZ3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.113 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
