Skip to content

magento man

REST API – probe error

how to get orders that are older than 1 hour from the current time. When I type NOW() -60, I get an internal error, log file never existed.

Tax calculation after discount

So I have a custom discount applied the following way: on vendormoduleetcsales.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Sales:etc/sales.xsd”> <section name=”quote”> <group name=”totals”> <item name=”testdiscount” instance=”vendormoduleModelQuoteDiscount” sort_order=”500″/> </group> </section> </config> On my vendormoduleModelQuoteDiscount.php class Discount extends MagentoQuoteModelQuoteAddressTotalAbstractTotal { public function __construct( MagentoFrameworkEventManagerInterface… Read More »Tax calculation after discount

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: After Updating a Module

On My site i am running old version of Advanced Product Options Suite Extension for Magento 2 by mageworx. I just updated the Advanced Product Options Suite Extension into latest version. I tired updation with upload Extension files manually also… Read More »SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: After Updating a Module

How to disable/remove salable quantity in Magento 2

Please disable this module in app/etc/config.php file. ‘Magento_Inventory’ => 0 ‘Magento_InventoryAdminUi’ => 0 ‘Magento_InventoryApi’ => 0, ‘Magento_InventoryBundleProduct’ => 0, ‘Magento_InventoryBundleProductAdminUi’ => 0, ‘Magento_InventoryCatalog’ => 0, ‘Magento_InventorySales’ => 0, ‘Magento_InventoryCatalogAdminUi’ => 0, ‘Magento_InventoryCatalogApi’ => 0, ‘Magento_InventoryCatalogSearch’ => 0, ‘Magento_InventoryConfigurableProduct’ => 0,… Read More »How to disable/remove salable quantity in Magento 2

How to fix products when this comes up: Something went wrong with processing the default view and we have restored the filter to its original state

Magento 2.4.5-p1 I have exported and imported products from Magento 1 into my Magento 2. Now, when I go to: Catalog – Products and surf the products for example in the following way: 10 per page Keep clicking on the… Read More »How to fix products when this comes up: Something went wrong with processing the default view and we have restored the filter to its original state