Skip to main content

Change the place of the field "Category"

6 years 3 months ago #323055 by patoushka
Hello,

I need to change the place of the Category field between two custom fields. First of all, is it doable?

I found the view (productmarket / form.php) But I didn't find the codes. Can you give me some tips to achieve that?






Many thanks

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

6 years 3 months ago #323061 by Jerome
Hello,

Moving that field into another section will require more than just cut/paste some lines of code.
Since the section "champs personnalisés" is not displayed if there is no field available, you could have a case when the category is not editable anymore. So it requires also to edit the conditions of the two section to move the check on the category field ACL.

If we consider your other topic on the category field :
www.hikashop.com/forum/23-market-how-to/...g-a-new-product.html
I do think it would be better for you to use a custom field for that "Nom du parent" and use a HikaShop mass-action to set-up a category to the product depending the value of that custom field.
Thanks to that, your field will be mandatory and you can place it in the "champs personnalisés" section too.

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