I have added a custom block below the Order Grand Total at Cart and Checkout pages. That block contains some additional totals information that is calculated on run-time based on the grand total amount. The problem I am facing is, that custom block is not getting updated when the totals […]
Magento2
I’m trying to override the next files: vendor/magento/module-backend/Block/Dashboard/Sales.php vendor/magento/module-reports/Model/ResourceModel/Order/Collection.php What path I need to create in a Module to override those files? I tried app/code/Vendor/Module/Block/Dashboard/Sales.php app/code/Vendor/Module/Magento_Backend/Block/Dashboard/Sales.php app/code/Vendor/Module/Model/ResourceModel/Order/Collection.php app/code/Vendor/Module/Model/Magento_Reports/ResourceModel/Order/Collection.php none work. Thanks
I’m trying to update some products using the import file. I Realized that one attribute is not updating. I noticed this attributes is backend_type = static. This is related to the problem or can be something else? Thanks!
I was wondering how I can find the full path to a component/form field on the checkout? For instance, let’s say I wanted to add some custom validation to a new field I have added on the checkout (within the shipping methods block). I know I need to add the […]
I want to replicate the order grid, add custom columns in it and fetch that columns data from the API.
Magento 2 products do not appear on the cart page They appear blank and i use a custom template if i change to Luma The cart page shows the products without a problem, but if you change to the custom template, the products disappear from the cart page, and this […]
Every day at the same time I get a whole ream of CRIT alerts for invalid template files [2024-01-25T02:40:23.971560+00:00] main.CRITICAL: Invalid template file: 'widget/static_block/default.phtml' in module: 'Magento_Cms' block's name: 'widgetblock_4' [2024-01-25T02:40:23.971774+00:00] main.CRITICAL: Invalid template file: 'widget/link/link_block.phtml' in module: 'Magento_Cms' block's name: 'widgetpagelink_6' [2024-01-25T02:40:24.079384+00:00] main.CRITICAL: Invalid template file: 'widget/static_block/default.phtml' in module: […]
I’m using a payment method of my country. When somebody realice an order in my website, and the payment is successfully, the order is changed to status complete. The problem is, I can’t do “invoice”, and the lifetime sales statistics in the dashboard is not updated. (I guess it is […]
I want to create an order programmatically using Cron jobs, the codes run perfectly but when creating the order i got ‘Error: Type Error occurred when creating object: MagentoInventoryIndexerModelQueueReservationData, Argument 2 passed to MagentoInventoryIndexerModelQueueReservationData::__construct() must be of the type int, null given, called in /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121string’ <?php namespace […]