Skip to main content

Make HikaMarket interface better for massive work

13 years 6 months ago #102300 by PeterChain
I want to make some minor but important changes to the hikamarket products list and I can't find where to tweak parameters either in the configuration interface or the .css or .php files

Advise on where to "attack" to achieve the changes will be appreciated


Please Log in or Create an account to join the conversation.

13 years 6 months ago #102301 by Jerome
Hi,

You can change the width thanks to CSS:
Code:
#hikam_category_listing div.oTree, #hikam_product_listing div.oTree { width: 150px; /* change the width value */ overflow: auto; height:100%; }

For the "root" category, in the view "productmarket | listing", there is a line which call for the tree display:
Code:
<?php echo $this->shopCategoryType->displayTree('hikam_categories', $this->rootCategory, null, true, true); ?>
The second parameter is the root category id, which in HikaMarket front-end is : 0.
You can override the view and replace "$this->rootCategory" with the ID of the category that you want as root.
For the "product category", by default his id is "2" in HikaShop so:
Code:
<?php echo $this->shopCategoryType->displayTree('hikam_categories', 2, null, true, true); ?>

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: PeterChain

Please Log in or Create an account to join the conversation.

13 years 6 months ago #102318 by PeterChain
Everything worked great!

BIG THANK YOU!!!!! MEEEERCI!!!!!!! :laugh: :laugh: :laugh: :laugh: :laugh:

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.048 seconds
Powered by Kunena Forum