Translate columns not updating in main table
-
Hi guys,
First time posting, educate if you may
I am trying to manual insert a product through the productRepository. Data is inserted but the name, description and short description is not being updated. The translate table is being insert n updated.
Let me know what am I missing and/or where to start looking.
Thanks ahead
-
Hello there,
We would love to help you with your query. Could you please help us with your updated script/code or if possible please share the screenshot.
This will help us to understand if you are missing something or not.Thank You.
-
Controller:
Repository:
Model:
I follow exactly how the category module works.
let me know if you need anything more.Thanks.
-
-
As per checking the concern, translations do not save automatically, these are saved on the locale code based. You need to add proper locale code to make it work.
Thanks.