I want to insert an external js to popup tracking page to get shipping information provided by an API service.
I need to pass the shipping number (that is yet in the popup tracking) to this js... here is the code:
I use 2 approach:
- edit details.phtml adding the JS but not working
- Insert code in a block and call via widget but I don't know how to call shipping tracking number.