Skip to main content

product categories tree view

13 years 3 weeks ago - 13 years 3 weeks ago #130619 by master_b
How to make next - when vendor open categories tree he see all folders of categories rolled like in attach (2) now by default they opened each time when vendor try to choose some category

maybe its more request feature but if its possible make little changes now i wanna in product name field (3) make next - when vendor begin type product name he see variants of product name from current products in db (like now release related product field) and choose this product to replace him for himself in him store but vendor can change another fields like he wish

(1) how to make next - when click on the field (quantity) word UNLIMITED automatically gone (missed). now each time need to delete him..

сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 13 years 3 weeks ago by master_b.

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

13 years 3 weeks ago #130621 by Jerome
Replied by Jerome on topic product categories tree view
Hi,

I have the impression that, more I read you, less I understand.
So, I don't know what I can answer you except that : I do not understand anything of what you are talking about.
Sorry, it is a something that I tell you often but.. It's not an English problem. The words are understandable, but the sentence, the all phrases.. not.

Regards,

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

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

13 years 3 weeks ago - 13 years 3 weeks ago #130707 by master_b
ok try explain
by default all categories opened in tree (attach1) i wanna make categories tree view by default like in attach2 (all categories closed). let vendor open that category which he need, now he must scroll and looking

сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 13 years 3 weeks ago by master_b.

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

13 years 3 weeks ago - 13 years 3 weeks ago #130708 by master_b
about quantity field:
When the cursor is in the field "Quantity" the word Unlimited does not disappear and you should delete it. I want to when the cursor was in the field "Quantity" word Unlimited automatically disappeared and the field remained empty

сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 13 years 3 weeks ago by master_b.

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

13 years 3 weeks ago #130754 by Jerome
Replied by Jerome on topic product categories tree view
Hi,

The category selector uses the "oTree" library.
In the HikaMarket "shop_category" type you will see this code
Code:
$status = 4; if(!empty($next) && $next->category_parent_id == $element->category_id) $status = 2;
It set the node state where the different states are:
Code:
* 0 - final node * 1 - directory node closed * 2 - directory node open * 3 - directory node dynamic (closed) * 4 - empty directory node * 5 - root final node
So, if you replace the $status 2 by the value 1, you will close all directory nodes.
There is not option in the type object for such modification, I will see what is possible without breaking all the structure.

For the quantity, the best for you is to override the view in order to add some javascript which will catch the "onfocus" and "onblur" events for the quantity input.

Regards,

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

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

13 years 2 weeks ago - 13 years 2 weeks ago #131513 by master_b
no changes after add value 1

сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 13 years 2 weeks ago by master_b.

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

13 years 2 weeks ago #131529 by Jerome
Replied by Jerome on topic product categories tree view
Hi,

You are not editing the right file. I said that you need to edit a "type" are you are editing a view.
So you have to edit a "core file", in "administrator/components/com_hikamarket/types/shop_category.php".

Regards,

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

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

13 years 2 weeks ago - 13 years 2 weeks ago #131534 by master_b
yep for category changed but in related products still open tree

note: not forget change it again after next update))

сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 13 years 2 weeks ago by master_b.
The following user(s) said Thank You: Jerome

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

13 years 2 weeks ago #131557 by Jerome
Replied by Jerome on topic product categories tree view
Hi,

For related products it is not the same type, it is "products".

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