Do you see anything obviously wrong here?
I am trying to override
vendor/magento/module-configurable-product/view/adminhtml/templates/catalog/product/edit/attribute/steps/bulk.phtml
vendor/magento/module-configurable-product/view/adminhtml/web/js/variations/steps/bulk.js
I tried adding there files to my local
app/design/adminhtml/TTT/FFF/Magento_ConfigurableProduct/view/adminhtml/web/js/variations/steps/bulk.js
app/design/adminhtml/TTT/FFF/Magento_ConfigurableProduct/view/adminhtml/templates/catalog/product/edit/attribute/steps/bulk.phtml
Then this
app/design/adminhtml/TTT/FFF/Magento_ConfigurableProduct/templates/catalog/product/edit/attribute/steps/bulk.phtml
app/design/adminhtml/TTT/FFF/Magento_ConfigurableProduct/web/js/variations/steps/bulk.js
None of these changes worked.
Can anyone told me the exact path I should be using or point me at what's wrong on those I tried? Thanks!
Hello @juaninacio
app/code/VENDOR/MODULE NAME/view/adminhtml/templates/catalog/product/edit/attribute/steps/bulk.phtml
app/code/VENDOR/MODULE NAME/view/adminhtml/web/js/variations/steps/bulk.js
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9
HI @johnwebdes40a5 , thanks for replying. Unfortunately, that didn't work. I placed those files inside this module that already had some other customizations in it, however, the changes are not reflected in the CMS Any alternative idea to make it work? The are the relative paths I came up with with the instructions:
app/code/Telescopic/Fischbacher/view/adminhtml/web/js/variations/steps/bulk.js
app/code/Telescopic/Fischbacher/view/adminhtml/templates/catalog/product/edit/attribute/steps/bulk.phtml
Bear in mind I re-compiled, deployed static files and flushed the cache.
Thanks again.
I will post the solution myself, as no-one provided me with the right answer for this query
For the JS file
needed to replace
vendor/magento/module-configurable-product/view/adminhtml/web/js/variations/steps/bulk.js
* using
app\code\T\F\view\adminhtml\web\js\variations\steps\bulk.js
defined replacement in
app\code\T\F\view\adminhtml\requirejs-config.js
var config = {
map: {
"*": {
"Magento_ConfigurableProduct/js/variations/steps/bulk": "T_F/js/variations/steps/bulk",
},
},
};
For the phtml file
need to replace
vendor/magento/module-configurable-product/view/adminhtml/templates/catalog/product/edit/attribute/steps/bulk.phtml
* using
app/code/Telescopic/Fischbacher/view/adminhtml/templates/catalog/product/edit/attribute/steps/bulk.phtml
I searched for references of catalog/product/edit/attribute/steps/bulk.phtml in the magento vendor folder
I found the one matching this file was
vendor\magento\module-configurable-product\view\adminhtml\layout\catalog_product_wizard.xml
I copied that file to my custom module
app\code\T\F\view\adminhtml\layout\catalog_product_wizard.xml
Once there , I modified the reference to the phtml file from the vendor on to my custom
from
Magento_ConfigurableProduct::catalog/product/edit/attribute/steps/bulk.phtml
to
T_F::catalog/product/edit/attribute/steps/bulk.phtml
flushed the cache and voila!!!
Hope it helps someone else