php - Overwritten Model Function - Magento2 -


on checkout, there 2 calls fetch totals data. specific function called twice is, fetch() located within tax class model. wanted rewrite method used di.xml supply path override. etc/frontend/di.xml. on first call when customer on checkout, re-written function fetch, gets triggered. when second call comes through, old function fetch, gets triggered. tried adding di.xml located inside etc/adminhtml/ see if fix problem, no avail.

why second call fetch not triggering new class function overwritten?


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -