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

#   category name raw code?

##

- **[Mn](/forum/user/1263-mn "View Mn's Profile")**
- [![Mn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1263-mn "View Mn's Profile") Topic Author
- [ Offline](/forum/user/1263-mn)

Less More

- Posts: 5
- Thank you received: 0
-
-

15 years 8 months ago [\#8956](#8956) by [Mn](/forum/user/1263-mn "View Mn's Profile")  *[category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8956 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")* was created by *[Mn](/forum/user/1263-mn "View Mn's Profile")*

Hi, i want the raw php coding to show category name that ni want to put in listing_div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and im stuck on this tiny piece of coding

ive tested this:
&lt;?php echo $this-&gt;params-&gt;get('main_div_name').$this-&gt;category_selected; ?&gt;

but i only get the id, i want to chage it so it shows the name

anyone?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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: 86308
- Thank you received: 14273
-
-

15 years 8 months ago [\#8958](#8958) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8958 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

You need to load the category data if you want its name because it's not loaded on that page:

$categoryClass = hikashop::get('class.category');
$category = $categoryClass-&gt;get(JRequest::getVar('category_pathway'));

echo @$category-&gt;category_name;

(please remember that you should avoid to modify the view files directly and use the menu Display-&gt;Views instead which will save your modifications in your template's view override folder and allow you to update HikaShop without loosing your modifications)

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

- **[Mn](/forum/user/1263-mn "View Mn's Profile")**
- [![Mn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1263-mn "View Mn's Profile") Topic Author
- [ Offline](/forum/user/1263-mn)

Less More

- Posts: 5
- Thank you received: 0
-
-

15 years 8 months ago [\#8963](#8963) by [Mn](/forum/user/1263-mn "View Mn's Profile")  Replied by *[Mn](/forum/user/1263-mn "View Mn's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8963 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

**nicolas wrote:**

> You need to load the category data if you want its name because it's not loaded on that page:
>
> $categoryClass = hikashop::get('class.category');
> $category = $categoryClass-&gt;get(JRequest::getVar('category\_pathway'));
>
> echo @$category-&gt;category\_name;
>
> (please remember that you should avoid to modify the view files directly and use the menu Display-&gt;Views instead which will save your modifications in your template's view override folder and allow you to update HikaShop without loosing your modifications)

it doesnt seem to work at all, i tried to insert the code at various places but without any results, it comes out blank, frontend source code shows nothing either

have i missed something?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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: 86308
- Thank you received: 14273
-
-

15 years 8 months ago [\#8966](#8966) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8966 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

What is the link of our product page ? Do you have a category_pathway in the parameters of that link ?

Could you copy/paste the modification you did ?

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

- **[Mn](/forum/user/1263-mn "View Mn's Profile")**
- [![Mn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1263-mn "View Mn's Profile") Topic Author
- [ Offline](/forum/user/1263-mn)

Less More

- Posts: 5
- Thank you received: 0
-
-

15 years 8 months ago [\#8974](#8974) by [Mn](/forum/user/1263-mn "View Mn's Profile")  Replied by *[Mn](/forum/user/1263-mn "View Mn's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8974 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

**nicolas wrote:**

> What is the link of our product page ? Do you have a category\_pathway in the parameters of that link ?
>
> Could you copy/paste the modification you did ?

***from listing\_div.php in product folder***

&lt;?php } ?&gt;
&lt;div class="hikashop_products" style="clear:both"&gt;

&lt;?php  **$class = hikashop::get('class.category');
$category = $class-&gt;get(JRequest::getVar('category\_name'));** ?&gt;
&lt;h1&gt; Tillgängliga delar från **&lt;?php echo $category-&gt;category\_name; ?&gt;**&lt;/h1&gt;
***&lt;ul class="hikashop\_product\_list"&gt;***
&lt;?php
$columns = $this-&gt;params-&gt;get('columns');
**$height = (int)(30/$columns)-1;**
$current_column = 1;

if(!empty($this-&gt;rows)){
foreach($this-&gt;rows as $row){
?&gt;
&lt;div class="hikashop_product" style="width:&lt;?php echo $width;?&gt;%;"&gt;
&lt;div class="hikashop_container"&gt;
&lt;div class="hikashop_subcontainer"&gt;&lt;h4&gt;
***&lt;li class="hikashop\_product\_list\_item" style="float:left;width:&lt;?php echo $width;?&gt;%;"&gt;&lt;?php
$this-&gt;row =&amp; $row;
$this-&gt;setLayout('listing\_'.$this-&gt;params-&gt;get('div\_item\_layout\_type'));
echo $row-&gt;product\_name;

?&gt;&lt;/li&gt;&lt;/h4&gt;***
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php if($current_column&gt;=$columns){ ?&gt;
&lt;div style="clear:both"&gt;&lt;/div&gt;
&lt;?php
$current_column=0;
}
$current_column++;
}
}
?&gt;***&lt;/ul&gt;***
&lt;/div&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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: 86308
- Thank you received: 14273
-
-

15 years 8 months ago [\#8977](#8977) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8977 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

You wrote $category = $class-&gt;get(JRequest::getVar('category_name'));
instead of $category = $class-&gt;get(JRequest::getVar('category_pathway'));

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

- **[Mn](/forum/user/1263-mn "View Mn's Profile")**
- [![Mn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1263-mn "View Mn's Profile") Topic Author
- [ Offline](/forum/user/1263-mn)

Less More

- Posts: 5
- Thank you received: 0
-
-

15 years 8 months ago [\#8979](#8979) by [Mn](/forum/user/1263-mn "View Mn's Profile")  Replied by *[Mn](/forum/user/1263-mn "View Mn's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8979 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

yeah it didnt work so i tried to modify the code to see if something happened
Changed back to "category_pathway" but i still have the same problem

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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: 86308
- Thank you received: 14273
-
-

15 years 8 months ago [\#8981](#8981) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8981 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

What is the link of our product page ? Do you have a category_pathway in the parameters of that link ?

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

- **[Mn](/forum/user/1263-mn "View Mn's Profile")**
- [![Mn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1263-mn "View Mn's Profile") Topic Author
- [ Offline](/forum/user/1263-mn)

Less More

- Posts: 5
- Thank you received: 0
-
-

15 years 8 months ago [\#8989](#8989) by [Mn](/forum/user/1263-mn "View Mn's Profile")  Replied by *[Mn](/forum/user/1263-mn "View Mn's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8989 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

hikashop::completeLink('category&amp;task=listing&amp;cid='.$child-&gt;category_id.'&amp;name='.$child-&gt;alias.$this-&gt;menu_id);

i think this is it, i dont think i have any parameters for category_pathway

&lt;?php
$category_pathway = hikashop::completeLink('category&amp;task=listing&amp;cid='.$child-&gt;category_id.'&amp;name='.$child-&gt;alias.$this-&gt;menu_id);
$categoryClass = hikashop::get('class.category');
$category = $categoryClass-&gt;get(JRequest::getVar('category_pathway')); ?&gt;

tried to insert this piece of coding but still no luck

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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: 86308
- Thank you received: 14273
-
-

15 years 8 months ago [\#8991](#8991) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#8991 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

Wait. You said that you wanted to display the category name on the product page. So I gave you the code for that.
But now you're pasting code which is for the listing of products...
If you want to display the category name on the listing of products, you should be able to do that by just turning off the option "Use menu name instead of category name for the title" in your menu's options...

If you want to do it with code in the view, you can use that:
echo $this-&gt;element-&gt;category_name;

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

- **[dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")**
- [![dontflinch's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1234.jpg)](/forum/user/1234-dontflinch "View dontflinch's Profile")
- [ Offline](/forum/user/1234-dontflinch)

Less More

- Posts: 52
- Thank you received: 0
-
-

15 years 7 months ago [\#11466](#11466) by [dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")  Replied by *[dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#11466 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

**nicolas wrote:**

> If you want to do it with code in the view, you can use that:
> echo $this-&gt;element-&gt;category\_name;

very helpful.

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

- **[dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")**
- [![dontflinch's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1234.jpg)](/forum/user/1234-dontflinch "View dontflinch's Profile")
- [ Offline](/forum/user/1234-dontflinch)

Less More

- Posts: 52
- Thank you received: 0
-
-

15 years 7 months ago [\#11477](#11477) by [dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")  Replied by *[dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#11477 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

is there some similar code for parent_category_name &#124; category_name by any chance?

For example I have Parent Category "Soda" then Category "Cherry". Well that code just returns Cherry, which could also be other categories ("Fruit" for example). If it returned Soda &gt; Cherry I would prefer that if possible. thanks for any help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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: 86308
- Thank you received: 14273
-
-

15 years 7 months ago [\#11478](#11478) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#11478 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

Parent categories data is not available in the view.
But I must ask, if you want the display exactly the same thing as the breadcrumb module, why not just use the breacrumb module ?

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

- **[dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")**
- [![dontflinch's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1234.jpg)](/forum/user/1234-dontflinch "View dontflinch's Profile")
- [ Offline](/forum/user/1234-dontflinch)

Less More

- Posts: 52
- Thank you received: 0
-
-

15 years 7 months ago [\#11479](#11479) by [dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")  Replied by *[dontflinch](/forum/user/1234-dontflinch "View dontflinch's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#11479 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

well I was preferring to make it as a h1 (not linkable) but may go the breadcrumb route. I am sort of styling as I edit 700 products so my focus is lacking also. =x

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

- **[marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")**
- [![marius1234's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28998-marius1234 "View marius1234's Profile")
- [ Offline](/forum/user/28998-marius1234)

Less More

- Posts: 8
- Thank you received: 0
-
-

13 years 1 day ago [\#129898](#129898) by [marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")  Replied by *[marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#129898 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

I would add to the discussion because I have the same problem but I can not get on top,
I need to show the name of category in the product page and in an article with products. Can you help me? I tried to include all relevant codes imaginable found in the forum but the result is always the same div/h1 empty! the link is

/it/component/hikashop/product/108-controluce.html
version of hikashop 2.2.1
joomla 3.1

please help me ![:(](/media/kunena/emoticons/5.png ":(")

thank you

- [ ![hf7d24dc.jpg](/forum/attachment/13242) ](/forum/attachment/13242 "hf7d24dc.jpg") [ ](/forum/attachment/13242?download=1 "hf7d24dc.jpg")
- [ ![hd12b2e7.jpg](/forum/attachment/13243) ](/forum/attachment/13243 "hd12b2e7.jpg") [ ](/forum/attachment/13243?download=1 "hd12b2e7.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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: 86308
- Thank you received: 14273
-
-

13 years 1 day ago [\#129962](#129962) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#129962 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

Hi,

Here is the modification to do for what you want:
[ www.hikashop.com/forum/4-how-to/64957-ca...cts-pages.html#65212](http://www.hikashop.com/forum/4-how-to/64957-category-names-added-to-products-pages.html#65212)

The following user(s) said Thank You: [marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")

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

- **[marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")**
- [![marius1234's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28998-marius1234 "View marius1234's Profile")
- [ Offline](/forum/user/28998-marius1234)

Less More

- Posts: 8
- Thank you received: 0
-
-

13 years 1 day ago [\#129993](#129993) by [marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")  Replied by *[marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")* on topic *[Re: category name raw code?](/forum/4-how-to/8956-category-name-raw-code#129993 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

Thank you,
this evening I will make the changes and i let you know

but what file I have to change for add code for product in the article?

thank you for your reply

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 1 day ago [\#130011](#130011) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[category name raw code?](/forum/4-how-to/8956-category-name-raw-code#130011 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

Hi,
What do you exactly mean by "in the article", a Joomla article ? if that's the case, you'll have to directly edit the code of the **Hikashop product TAG translation** plugin.

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

- **[marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")**
- [![marius1234's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28998-marius1234 "View marius1234's Profile")
- [ Offline](/forum/user/28998-marius1234)

Less More

- Posts: 8
- Thank you received: 0
-
-

13 years 20 hours ago [\#130105](#130105) by [marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")  Replied by *[marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")* on topic *[category name raw code?](/forum/4-how-to/8956-category-name-raw-code#130105 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

Ok thank you, but how to modify this plugin? what is the path?
thank you

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 4 hours ago [\#130161](#130161) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[category name raw code?](/forum/4-how-to/8956-category-name-raw-code#130161 "Hi, i want the raw php coding to show category name that ni want to put in listing&#95;div.php on product page, i know that i can use the button to enable the title, but im heavily modifying the code and...")*

The file to edit is:
"plugins\system\hikashopproducttag\hikashopproducttag.php"

The following user(s) said Thank You: [marius1234](/forum/user/28998-marius1234 "View marius1234's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg5NTYtY2F0ZWdvcnktbmFtZS1yYXctY29kZT90bXBsPW1hcmtkb3du) 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.276 seconds

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

[](#top)
