Product Category in Vendor New Upload Form

  • Posts: 61
  • Thank you received: 2
10 years 9 months ago #113281

Under the Product Category in Vendor New Upload Form, I have 3 levels of Categories under the Root. I am wondering how to change how it looks, Right now i added some custom css to get it the way i want but i suspect the change i need is in the JS. All of the categories are in a 'minus' state, meaning once you click on Product Category all of the Sum categories are visible. What i am asking is how do i get it so only the first level under Root is shown. ex1 before ex2 after

Attachments:
Last edit: 10 years 8 months ago by xsbucks.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 9 months ago #113288

Hi,

The tree content is added by the type "shop_category".
This class generates the content used by the javascript library in order to create the html tree.
The minus icons and the sub levels are also in the tree content. So you have to modify this type class to change the content.

Once again, the best will be to integrate this feature in HikaMarket with a sort of extra option parameter ( $options = array() ) so it will be possible to add new specific features without modifying the "display" function parameters again and again.

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.

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

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