- Posts: 61
- Thank you received: 2
Product Category in Vendor New Upload Form
13 years 4 months ago - 13 years 4 months ago #113281
by xsbucks
Product Category in Vendor New Upload Form was created by xsbucks
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
Last edit: 13 years 4 months ago by xsbucks.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #113288
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Product Category in Vendor New Upload Form
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,
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.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.044 seconds