Magento | PHP | Shopify | WordPress Tutorial

Magento 2

Sign Google Tag Manager (GTM) Custom HTML JavaScript with a Nonce

Allow the execution of JavaScript in GTM is by adding a nonce to the script’s opening tag Changes to do in Magento In your custom module, utilize CSP Nonce Provider and pass the nonce to the JavaScript. For more details, refer to Basic Template Concepts in the Adobe Commerce Developer documentation. <?phpdeclare(strict_types=1);namespace DSSCSPBlock;use MagentoCspHelperCspNonceProvider;use MagentoFrameworkExceptionLocalizedException;use MagentoFrameworkViewElementTemplate;use MagentoFrameworkViewElementTemplateContext;class AllPage extends Template{    /**     * @param Context $context     * @param CspNonceProvider $cspNonceProvider     * @param array $data     */   

Read More »
Magento 2

Magento vendor Fishpig hacked – Rekoobe malware

Fishpig, a vendor of popular Magento-Wordpress integrations, has been hacked. Hackers have injected malware in multiple extensions from FishPig, a vendor of Magento-WordPress integrations that count over 200,000 downloads.FishPig has confirmed the incident and published a status page. It recommends customers to upgrade and/or reinstall all FishPig modules.Magento is a popular open-source eCommerce platform used for building electronic shops, supporting the sale of tens of billions USD worth of goods annually. The malware Hackers injected malicious code into License.php, a

Read More »

Contact Us