This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko 5 years, 2 months ago.
- Topic
Hellow,
while trying to add a new product unit (metre), i’ve gone throu thses steps :
1- added new entry within “oro_product_unit”
2- translation management in thses files :
https://github.com/oroinc/orocommerce/blob/master/src/Oro/Bundle/ProductBundle/Resources/translations/messages.en.yml#L606-L744
https://github.com/oroinc/orocommerce/blob/master/src/Oro/Bundle/ProductBundle/Resources/translations/jsmessages.en.yml#L21-L129
3- new array for metre within the array $productUnits
https://github.com/oroinc/orocommerce/blob/master/src/Oro/Bundle/ProductBundle/Migrations/Data/ORM/LoadProductUnitData.php.the problem is that when trying to add “optionnal units” , am having ” oro.product.product_unit.metre.label.short_plural” instead of “metre” within “conversion rate”.
Am I missiing anything? (cache maybe?)
The forum ‘OroCommerce’ is closed to new topics and replies.