I have my custom module in that I generate invoice automatically but when I reorder order from backend side that getting this kind of error “Order saving error: Rolled back transaction has not been completed correctly. “ here is my code $invoice = $this->invoiceService->prepareInvoice($order); $invoice->register(); if (!$invoice) { $order->addStatusHistoryComment( 'Can't […]
Magento
I want to add “Buy Now” button in Recently Viewed Products widget, the widget is made with knockout js. The file involved in the widget is: /Magento_Catalog/web/template/product/list/listing.html I appreciate any help.
I know to load children skus with loading parent object but I am finding the way where I can load all children items by just passing configurable product id, is there any method please share here thank you it works fine with below method but it requires to load parent […]
In Magento 2.4.5 vanilla when creating a new grouped product, let’s suppose this grouped product already has 20 simple products. Step # 1: Add the 21th product in grouped product table in product edit page Step # 2: Re-moved the product order from the 21th order to 2nd or 3rd […]
Our UPS integration stopped working a couple weeks ago due to UPS disabling support for the old UPS Type connection in Magento 2.4.3. We are trying to get an alternate XML integration working but it requires an Access License Number (access key) and as of today, UPS no longer supports […]
I get this error when I tap “schedule new update” button in a cart price rule page you can see in the image below, I echo $className variable, which causes the error, it displays “MexbsApBaseBlockAdminhtmlPromoQuoteActionDetailsStaging”, but there is no Staging file inside Details directory inside this module! When I disable […]
I want to create an admin select list of product attributes that have the storefront property ‘Use for Promo Rule Conditions’ Does anyone know how to do this?
I downloaded the production database. Now I want to setup the database on the staging server. So what sanitize process I have to apply on the database before uploading to the staging server.
I have a javascript file that loads when the page loads. This file defines two variables (one for the shopping cart items and one for the count). This script also contains a subscribe that fires whenever the cart is updated. When I add items to the cart, remove items from […]