I need to add form validation on the checkout page to stop hack attempts. We’ve had a number of orders where the customer name has been replaced with script code. Fortunately, this hasn’t done any harm, but I would like to add validation to stop code being inserted. There is […]
Magento
I’m doing some customization on Magento 2.4.4 checkout and i need help to understand how to inject some javascript into “table-checkout-shipping-method” I tried do innsert following code in following path /app/code/Magento/Checkout/view/frontend/templates/onepage.phtml <script type="text/javascript"> require(['jquery'],function($){ jQuery(function($) { console.log('test'); $('.step-title').hide(); }); }); </script> and i’m able to see console.log result. the .hide() […]
I want override the setMetadata() method from config.php file. what is the best way to overide setMetadata() method from config.php file in magento 2 Thanks.
I want to show out of stock message on configurable product swatch selection. Any help would be appreciated.
I have a headless magento implementation in reactJS. The customer Registration/Login is happening from the third party integration. My question here is Can we generate the customer Bearer token using graphQL with the custom customer attribute? Default mutation { generateCustomerToken( email: String! password: String! ) { CustomerToken } } Expectation: […]
magento is sending the next error when calling a GET API. Does anyone have the solution to the error? { “message”: “The consumer isn’t authorized to access %resources.”, “parameters”: { “resources”: “Magento_Customer::manage” },
I am using a customised login where token is generated from AWS Cognito. i am also adding some jwt claims to make the token usable with integration such as apollo .i want to use the same token for customer to access magento instead of creating separate token using username and […]
I want to create a custom validation with logic for the vat_id field. I tried all the ways I found online and no one seems to work. I created a module specifically to add the validation, and I tried with the official documentation, and with other methods that I found […]