I have a small php script that fetch some product information from the Magento 2 Rest API. The problem I am facing is that it works fine for some Magento 2 shops, but not others. For some shops I get “The signature is invalid. Verify and try again.” But if […]
Magento
My Code: app/code/Aveeva/Csp/etc/csp_whitelist.xml app/code/Aveeva/Csp/etc/config.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <csp> <mode> <storefront> <report_only>0</report_only> </storefront> <admin> <report_only>0</report_only> </admin> </mode> <policies> <!-- CORRECT: Apply to ALL storefront pages --> <storefront> <script_src> <inline>1</inline> <eval>1</eval> </script_src> </storefront> </policies> </csp> </default> </config> I am getting the following error 1 exception(s): Exception #0 (Exception): Warning: […]
I’m facing an issue while updating the products. The changes are not saved and reflected to the live website. I have tested all cache and flushes, and still no changes on the website. Can anybody help?
I am using the console command to delete an order item so I need also to create a credit memo based on the delete item price and refund the payment to the customer online using API. I used the following API to credit memo of particular order ITEM based on […]
Good Morning We are trying to design my home page fully using page builder, but the page builder is not working in responsive we had tried the page builder options to adopt in responsive but we can achieve what we need. First the slider the slider is showing better in […]
i need to create new script if the image not present in real folder and not in used than delete from cache folder example Cach folder image pub/media/catalog/product/cache/2a584e14ed2061ee0dac7db2e52f28f9/1/_/1_asc-d-404-mn_dollcarrier_minnie_2000.jpg “pub/media/catalog/product/1/_/1_asc-d-404-mn_dollcarrier_minnie_2000.jpg” if this image not present in => “pub/media/catalog/product/” than delete from => “pub/media/catalog/product/cache” this kind of script i need to create […]
So I wanna add a Link with Icon and the text that says “Contact Us” beside “Mina sidor” in the header. So when u click on Contact Us u are directed to a different page with all contact information. I have been adding this line of code to my Magento_Theme/layout/default.xml […]
We are using Magento cloud environment for our project. There, we want to send a confirmation email when the customer get registered on our website. So, I have done: Store -> Configuration -> Customers -> Customer Configuration -> Requires Email Confirmation -> Yes Though, I have set the option to […]