Change the place of the field "Category"

  • Posts: 627
  • Thank you received: 18
  • Hikashop Business
4 years 3 months ago #323055

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

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 3 months ago #323061

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.

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