- Posts: 32
- Thank you received: 0
Adding category description to product description
Thanks
Please Log in or Create an account to join the conversation.
So you will have to edit the show file of the product view and load the category data with a MySQL query.
Please Log in or Create an account to join the conversation.
I assume that these modifications are not overwritten when installing a new version of Hikashop correct?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Two more questions:
What is the best way to modify the frontend_default.css file?
I needed to move the hikashop_checkout_status and hikashop_checkout_terms so that they appear on top of the next button nad not on the far left as they do now. I could not find where these are defined
Please Log in or Create an account to join the conversation.
Not all the classes are defined in the CSS. That's because we only defined the CSS classes that needed some styling by default. So if you don't have any code for a class in the CSS you can just add it. Either in our CSS, or in your template.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
nicolas wrote: You can have several categories for one product.
So you will have to edit the show file of the product view and load the category data with a MySQL query.
Please explain.
Also why doesn't the basic Description area of the Categories show?
They seem to before:
www.hikashop.com/en/forum/4-how-to/51821...scription.html#51821
Thanks.
Please Log in or Create an account to join the conversation.
<?php
foreach($this->categories as $category) echo $category->category_description;
?>
The other thread is about adding the description of the current category on the products/subcategories listing page. That can be done by turning on the "show description" option of your menu via the menu Display->Content menus.
Please Log in or Create an account to join the conversation.
Today the description is now showing.
Huh??
I don't have any caching on...
Please Log in or Create an account to join the conversation.