I trie to overrule Magento/Sales/Model/Order/ShipmentFactory.php and i have code below, but i get error: main.CRITICAL: ReflectionException: Class “JilcoShipmentbugModelOrderShipmentFactory” does not exist in /home/jilco/public_html/vendor/magento/framework/Code/Reader/ClassReader.php:34 registration.php <?php use MagentoFrameworkComponentComponentRegistrar; ComponentRegistrar::register(ComponentRegistrar::MODULE, 'Jilco_Shipmentbug', __DIR__); DI.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoSalesModelOrderShipmentFactory" type="JilcoShipmentbugModelOrderShipmentFactory" /> </config> Module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Jilco_Shipmentbug" /> […]
Magento1
I am looking to setup a Shop on my Facebook page where it has all the products from my site on Facebook. Also I want to setup a Google Shopping feed from our store with Selected Prodcuts (not all products, will vary depending from time to time), also for adwords, […]
What can I do if I want to deselect the shipping method when the page is reloaded or if you go back to cart/categories/etc and after you go back to checkout? Right now if I selected a shipping method will remain selected until I change the county. Until now I […]
I sold three items 136,50 100,00 76,00 For a Total of 312,50 € The customer applied a fixed amount discount code for the cart of 300 € She correctly paid with Paypal 12,50 € The invoice shows 312,50 € subtotal, after applied discount of 300 €: Grand Total of 47,89 […]
What I would like to do is add a field to an admin page where a file can be downloaded and uploaded. A client would like to upload a csv file that is used by a module developt by an agency that was developing the site before us. What I […]
i want to use terms and condition as a link of another page on the checkout page in magento 2.4.5-p1, but by default it shows on popup but i have not need this popup. i want to simple target terms and condition to the another page
After upgrading magento I found this critical error. Please guide me to solve this error. I have my custom module file like, class SaveSapInfo extends MagentoSalesControllerAdminhtmlOrder implements HttpPostActionInterface{ }
I have added a field “Favorite Color” to the Customer entity and added it to the registration form. The field properly stores data, as I can see when logging in as Admin and checking in Customers -> All Customers -> Edit -> Account Information. However, when the Customer herself logs […]
Trying to clean up my logs and I keep getting this error over and over in my exception logs. [2022-12-27 20:07:39] report.CRITICAL: The element "order_totals" can't have a child because "order_totals" already has a child with alias "ltl_shipping_fee". {"exception":"[object] (Magento\Framework\Exception\LocalizedException(code: 0): The element "order_totals" can't have a child because "order_totals" […]