Translate fields on Hikashop form

  • Posts: 634
  • Thank you received: 16
5 years 11 months ago #292450

-- HikaShop version -- : 3.4.0
-- HikaMarket version -- : 2.1.1
-- Joomla version -- : 3.8.3

Hello,

I need to create my own form where I want both core fields and custom fields from hikashop to be rendered in several languages at a time,

this means that the user entering data can enter the product_name in spanish, then english, then french in the same form without the use of tabs, popups or nothing, just by finding as many input boxes as languages are available one after the other.

I am building the view from scratch and I want to know how to render in the form the input box for each language.

This has to be for both a core field (like product_name) and for any custom field I create in hikashop.



I was not able to find documentation on the matter in your page.



Thank you.

--
Victor

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
5 years 11 months ago #292456

Hello,

Would it be possible to have the details regarding the HikaMarket context ?

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.

  • Posts: 634
  • Thank you received: 16
5 years 11 months ago #292493

Jerome wrote: Hello,

Would it be possible to have the details regarding the HikaMarket context ?

Regards,


Yes, I want something like the attached image:



Thanks in advance,
--
Victor

Attachments:

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
5 years 11 months ago #292519

Hello,

Having such kind of interface would require a big modification in the HikaMarket views but also a custom plugin (or some modifications in the HikaShop/HikaMarket cores).
The multi-language support is made in a popup and the controller will call specific functions to save these values.
If you want to merge these fields with the rest of the product fields ; it would need to add new actions in the product controller and maybe some modifications in the HikaShop function which save the fields into Falang/Joomfish.

That kind of modification is not easy and would be better in a custom plugin so you would not touch the cores and be able to update HikaShop and HikaMarket.

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.
The following user(s) said Thank You: PeterChain

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

Moderators: Obsidev
Time to create page: 0.058 seconds
Powered by Kunena Forum