- Posts: 97
- Thank you received: 0
Filter product code from characteristic?
11 years 10 months ago #181494
by shpuser
Filter product code from characteristic? was created by shpuser
Please Log in or Create an account to join the conversation.
11 years 10 months ago #181593
by Xavier
Replied by Xavier on topic Filter product code from characteristic?
Hi,
This will require some core file edition, because in the listings we can only display the main products.
So even if the variant product code is found we can't display the variant.
One thing could be to edit the code to get the parent product when searching for the variant product code.
This require good PHP knowledges. I think that a plugin can do the job, here is the documentation on how to make a plugin:
www.hikashop.com/support/support/documen...r-documentation.html
This will require some core file edition, because in the listings we can only display the main products.
So even if the variant product code is found we can't display the variant.
One thing could be to edit the code to get the parent product when searching for the variant product code.
This require good PHP knowledges. I think that a plugin can do the job, here is the documentation on how to make a plugin:
www.hikashop.com/support/support/documen...r-documentation.html
Please Log in or Create an account to join the conversation.
11 years 9 months ago #182995
by LIP Trade
Replied by LIP Trade on topic Filter product code from characteristic?
Hi Xavier, we use HikaShop Business: 2.3.4 and want search by product code. We are not programer to make plugins, and for that reason we take the Business version of yours product. We expect some sollutions, to serch by produkt code
Please Log in or Create an account to join the conversation.
11 years 9 months ago #183205
by nicolas
Replied by nicolas on topic Filter product code from characteristic?
Hi,
@LIP Trade: There is already that capability. Simply create a filter of the type "text" set its "apply on" option to "product_code" and you will be able to search your products by product code. The question of @shpuser was about having that capability also work for variants of products which is something not possible without modifying the code of HikaShop, as explained by Xavier.
@LIP Trade: There is already that capability. Simply create a filter of the type "text" set its "apply on" option to "product_code" and you will be able to search your products by product code. The question of @shpuser was about having that capability also work for variants of products which is something not possible without modifying the code of HikaShop, as explained by Xavier.
The following user(s) said Thank You: LIP Trade
Please Log in or Create an account to join the conversation.
11 years 8 months ago #189414
by jesper
Replied by jesper on topic Filter product code from characteristic?
nicolas can you give more info on this ?
It does not have to show the specific variant only, just the main product, but would be good if in some way, it would be able to filter main product if variant version also matches the search product_code
It does not have to show the specific variant only, just the main product, but would be good if in some way, it would be able to filter main product if variant version also matches the search product_code
Please Log in or Create an account to join the conversation.
11 years 8 months ago #189421
by nicolas
Replied by nicolas on topic Filter product code from characteristic?
That's what Xavier and I were talking about. There is no such capability. It would be a big resources issue to be able to do that.
One alternative in that case would be to enter the product code of each variant separated by a space in a custom product field of the main product and have the filter aplied on both the product_code and that custom field.
That would produce the same result but it would mean more work to setup.
One alternative in that case would be to enter the product code of each variant separated by a space in a custom product field of the main product and have the filter aplied on both the product_code and that custom field.
That would produce the same result but it would mean more work to setup.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #189496
by jesper
Replied by jesper on topic Filter product code from characteristic?
wouldn't it be possible to do this automatic on variant editing ?
Please Log in or Create an account to join the conversation.
11 years 8 months ago #189509
by nicolas
Replied by nicolas on topic Filter product code from characteristic?
With a small custom hikashop plugin yes.
Please Log in or Create an account to join the conversation.
Time to create page: 0.251 seconds