- Posts: 8
- Thank you received: 0
category name raw code?
Less
More
12 years 11 months ago - 12 years 11 months ago #130172
by marius1234
Replied by marius1234 on topic Re: category name raw code?
Thank you, thank you Nicolas, works fine but how to create a link for that category?
and for the this "plugins\system\hikashopproducttag\hikashopproducttag.php" how to i can make modification? can you explain me or write me where to insert this script?
thank you for your adivice
if i insert this code in plugins\system\hikashopproducttag\hikashopproducttag.php nothing happens, i get empty div
please help me
thank you
and for the this "plugins\system\hikashopproducttag\hikashopproducttag.php" how to i can make modification? can you explain me or write me where to insert this script?
Code:
<?php
foreach($this->categories as $category){
echo ($category->category_name).' - ';
}
?>
thank you for your adivice
if i insert this code in plugins\system\hikashopproducttag\hikashopproducttag.php nothing happens, i get empty div
please help me
thank you
Last edit: 12 years 11 months ago by marius1234.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago #130229
by Mohamed Thelji
The plugin files to edit was "plugins\system\hikashopproductinsert", but you'll need some development skill to do what you want.
Replied by Mohamed Thelji on topic category name raw code?
Xavier wrote: The file to edit is:
"plugins\system\hikashopproducttag\hikashopproducttag.php"
The plugin files to edit was "plugins\system\hikashopproductinsert", but you'll need some development skill to do what you want.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 8
- Thank you received: 0
12 years 11 months ago - 12 years 11 months ago #130231
by marius1234
Replied by marius1234 on topic category name raw code?
Thank you Mohamed
but can you try to explain me how to.
So I'm got some development skill
thank you...
but can you try to explain me how to.
So I'm got some development skill
thank you...
Last edit: 12 years 11 months ago by marius1234.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago #130476
by Mohamed Thelji
Replied by Mohamed Thelji on topic category name raw code?
Ok, you'll have to load your product's category informations through the file "plugins\system\hikashopproductinsert\hikashopproductinsert.php", and display it through the file "plugins\system\hikashopproductinsert\hikashopproductinsert_view.php".
The following user(s) said Thank You: marius1234
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 8
- Thank you received: 0
12 years 10 months ago #131177
by marius1234
Replied by marius1234 on topic category name raw code?
mmm I do not think I'm able to create the code to make load of the name of categories, could you help me please?
can you write me the code that i will insert? :blush: :S
thank you
can you write me the code that i will insert? :blush: :S
thank you
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 8
- Thank you received: 0
12 years 10 months ago #131213
by marius1234
Replied by marius1234 on topic category name raw code?
I want to say that you made the module should not be hard to write the code to enter to initialize the category..
please help me
please help me
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131221
by Xavier
Replied by Xavier on topic category name raw code?
Hi,
That need a MySQL request, to get the categories id of the product, then get the info in the category table to get the name.
If you need a link on the categories, it's a little bit more complex because you need to know which menu is displaying the category, to make it easy you can create a menu which display all the categories, and have a default category path.
It's a support forum, to correct bug and help in configurations, so we don't provide code for customizations. We have no time for that
If you are not able to develop this feature, you can use the commercial jobs section of this forum.
That need a MySQL request, to get the categories id of the product, then get the info in the category table to get the name.
If you need a link on the categories, it's a little bit more complex because you need to know which menu is displaying the category, to make it easy you can create a menu which display all the categories, and have a default category path.
It's a support forum, to correct bug and help in configurations, so we don't provide code for customizations. We have no time for that
If you are not able to develop this feature, you can use the commercial jobs section of this forum.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 8
- Thank you received: 0
12 years 10 months ago #131223
by marius1234
Replied by marius1234 on topic category name raw code?
ok, thank you for your advice..
Please Log in or Create an account to join the conversation.
Time to create page: 0.226 seconds