I am looking for code where it insert/update is_salable column in inventory_stock_1,inventory_stock_2 table anyone know from which file it is updating this data? when I save product in admin it inserting/updating this tables according to product stock here is my table
Magento
I have an attribute with type select having some options Now I want to add a new option to the existing product attribute programmatically. Is it possible with using Setup DataPatch? If yes then please give me some examples so that I can Update existing attribute to add a new […]
I am experiencing an issue restoring a Magento 2 backup on an AWS EC2 instance. After successfully restoring the backup, when I try to access the site via the EC2 instance’s IP address, I encounter a “Error 503 Backend fetch failed” error, indicating an issue with the Varnish cache server.
I’m trying to get the inventory stock details for an order in observer using the event sales_order_shipment_save_after. I cannot find the inventory data. Only getting order data. Anyone help me.
Suddenly my Magento 2.4.6 started to show a JS issue without any deployment. I had this issue below with the JavaScript loading. How could I solve it?
We are getting 404 error in Google search console regarding CSS and JS versioning. I already blocked static folder via robots but still, after every deployment of website google search console are mentions old URL as 404. so, if anyone know how to resolve this error? Thanks,
Uncaught Error: Mismatched anonymous define() module: function(){return cr} https://requirejs.org/docs/errors.html#mismatch at makeError (require.js:168:17) at intakeDefines (require.js:1254:36) at require.js:1452:25
I have a block with a function getParts() which is called from a template. This function does a bunch of queries and returns an array of data. I need to make it so if it does not return any data, a 404 is generated. I was able to successfully do […]
I am using the REST API to sync orders down from Magento into our ERP. When retrieving an order’s details, I need the billing address’s Company value in order to make sure that the synced order is associated with the right account. Presently, despite having a company attached to the […]