Replies: 3 comments
-
How are you storing and retrieving |
Beta Was this translation helpful? Give feedback.
-
@zaidbarghouthi the pivot table has |
Beta Was this translation helpful? Give feedback.
-
Product and Attribute have a many-to-many relation. I found a workaround. So instead of calling it as a pivot column, I made a new relation with pivot and product table with one-to-many relation, which I don't like but seems working. For some reason, pivot columns are not translated. |
Beta Was this translation helpful? Give feedback.
-
I have many to many relation between product and attribute tables, and the pivot table has a value column which is translatable. ProductAttribute model is configured correctly, but for some reason, the value returns the JSON, not the translation.
![1](https://user-images.githubusercontent.com/58288990/100548447-1092e180-3286-11eb-8e25-22270e4519d9.jpg)
![2](https://user-images.githubusercontent.com/58288990/100548451-12f53b80-3286-11eb-812f-9f549bec0c03.jpg)
Beta Was this translation helpful? Give feedback.
All reactions