This topic contains 5 replies, has 2 voices, and was last updated by Frank 4 years, 8 months ago.
- Topic
Hi Oro-Team,
I want to override following js-file:
OroShoppingListBundle/Resources/public/js/app/views/product-add-to-shopping-list-view.js
by a custom one:
MyShoppingListBundle/Resources/public/js/app/views/product-add-to-shopping-list-view.jsMy steps were:
1) MyShoppingListBundle/Resources/public/js/app/views/product-add-to-shopping-list-view.js created/added
2) MyShoppingListBundle/Resources/config/require.js created/added:
config:
paths:
‘oroshoppinglist/js/app/views/product-add-to-shopping-list-view’: ‘bundles/myshoppinglist/js/app/views/product-add-to-shopping-list-view.js’3) console-command executed:
$ php ./bin/console oro:assets:install –env=dev –symlink
$ php ./bin/console oro:requirejs.build –env=dev
$ php ./bin/console cache:clearAlthough assets:install and requirejs.build go through without any error, it DOES NOT WORK:
Oro uses the core-js-file as before, NOT my custom one.
What I am doing wrong?
Thanks for any help.
Kind regards
Frank
The forum ‘OroPlatform’ is closed to new topics and replies.