Make HikaMarket interface better for massive work

  • Posts: 634
  • Thank you received: 16
10 years 11 months ago #102300

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


Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 11 months ago #102301

Hi,

You can change the width thanks to CSS:

#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:
<?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:
<?php echo $this->shopCategoryType->displayTree('hikam_categories', 2, null, true, true); ?>

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: PeterChain

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

  • Posts: 634
  • Thank you received: 16
10 years 11 months ago #102318

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.072 seconds
Powered by Kunena Forum