We are encountering an issue on our store where sometimes the MagentoFrameworkViewElementAbstractBlock::getParentBlock() method returns false. We traced this back to the fact that the head.additional block is missing in the layout. However, this issue only occurs in our production environment and is not reproducible in staging or locally, even when […]
Magento2
We are tried to customize/override the extension template file. we want to override below extension and its originale path is html/app/code/VedndorName/Marketplace/view/frontend/templates/product/add.phtml /html/app/code/VedndorName/Marketplace/view/frontend/layout/marketplace_product_add.xml Now we created a file structure to override this template with file but changes not appearing can you suggest what i missing. html/app/design/frontend/VedndorName/Marketplace/view/frontend/templates/product/add.phtml html/app/design/frontend/VedndorName/Marketplace/view/frontend/layout/marketplace_product_add.xml
Does anyone have a suggestion on how to add a ‘free’ text or badge after each payment method in the checkout. The list is called by Magento_Checkout/web/template/payment-methods/list.html with an each call to render the payment method groups and their methods. I hope there is a clever way of doing this, […]
My local dev site (Magento 2.4.6-p2) is running on a non-standard https port – 8443, so the url is https://dev.mysite.com:8443. When I try to load the site’s logo in the design config page I am getting the CSP error: Refused to load the image ‘blob:https://dev.mysite.com:8443/763a918d-8c49-4075-81c9-eef85867cf18′ I’ve tried everything I could […]
I am using Apache2 and Php8.2-fpm to serve Magento 2.4.7. When I try to access the site I get this error message in Apache logs: [proxy_fcgi:error] [pid 168766:tid 168775] [client 127.0.0.1:46104] Premature end of script headers: index.php [proxy_fcgi:error] [pid 168766:tid 168775] [client 127.0.0.1:46104] AH01070: Error parsing script headers [proxy_fcgi:error] [pid […]
Currently, I am using Magento version 2.4.6-p8 on my website. When I run a Security Scan, the report shows the following issue: Scan Name: API ACL Scan Details: API ACL – Failed. API ACL Patch not detected (APPSEC-1679) [200] When I investigated the issue, I found the following setting in […]
Magento 2.4.7-p3 PayPal Express button in checkout triggers field validation. Before the update to 2.4.7-p3 I could just click the Express button and was sent to PayPal. Now however, I have to enter all data before I am redirected to PayPal. That makes no sense of course since PayPal has […]
I created a module that creates an order programmatically and I can also set the custom price. This is part of my code: foreach($orderData['products'] as $product) { try { $quoteProduct = $this->productRepository->get($product['sku']); $this->logger->info(sprintf("Adding product to quote, id: %d, sku: %s, qty: %d", $quoteProduct->getId(), $quoteProduct->getSku(), $product['qty'])); $quoteItem = $quote->addProduct( $quoteProduct, intval($product['qty']) […]