Magento ver. 2.4.2-p1
Amasty OneStepCheckout
I have an account with ShopperApproved. They gave me a JavaScript code to enter into the Order Confirmation page (the one that appears after a customer places an order).
I tried to put this code or even modify the success.html file in both of these locations but the changes do not reflect on the front end:
module-checkout/view/frontend/templates/success.phtml
module-inventory-in-store-pickup-frontend/view/frontend/templates/success.phtml
I did run the following after making the changes:
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
What do I need to do to make this work?