I want to reset the “Users” ID numbers back to 1, 2, 3…. Under System > Permissions > All users I’m presuming this is something that needs to be done in the DB. How can I do this?
Magento
When I try to execute any magento command it gives me the following error: PHP Fatal error: Uncaught Error: Cannot instantiate interface MagentoFrameworkInterceptionConfigLoaderInterface in /home/vagrant/code/%PROJECT%/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 As you can see in the error message I am using a vagrant box to try and get my project running locally. Just did a […]
I want to override vendor/magento/module-checkout/Model/GuestPaymentInformationManagement.php. I made a di.xml in app/code/Jilco/Qtybug/etc/ like this: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoCheckoutModelGuestPaymentInformationManagement" type="JilcoQtybugModelGuestPaymentInformationManagement" /> </config> And the GuestPaymentInformationManagement.php in /home/jilco/public_html/app/code/Jilco/Qtybug/Model/ Also dit the deployement steps rm -rf generated/code/* php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento setup:static-content:deploy nl_NL […]
How to show a popup as soon as customer logs in. I created an customer_login event and called an observer, I want to display a phtml file with my popup code. Following doesn’t work etc/frontend/events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <event name="customer_login"> <observer name="customer_login_observer" instance="VendorModuleObserverCustomerLogin" /> </event> </config> Observer/CustomerLogin.php <?php […]
Is there anyone help me please for removing malware from the sites. Screenshot is attached. Please check and help me. I’m very worry about that.
I am adding tax programmatically on checkout using this code: class Tax extends MagentoTaxModelSalesTotalQuoteTax { /** * Class constructor * * @param MagentoTaxModelConfig $taxConfig * @param MagentoTaxApiTaxCalculationInterface $taxCalculationService * @param MagentoTaxApiDataQuoteDetailsInterfaceFactory $quoteDetailsDataObjectFactory * @param MagentoTaxApiDataQuoteDetailsItemInterfaceFactory $quoteDetailsItemDataObjectFactory * @param MagentoTaxApiDataTaxClassKeyInterfaceFactory $taxClassKeyDataObjectFactory * @param CustomerAddressFactory $customerAddressFactory * @param CustomerAddressRegionFactory $customerAddressRegionFactory * @param […]
I want to check if the postcode exists in the current country on the checkout page. How to implement this? or maybe someone knows a module that does it? Thanks for any help
Recently I have started getting an error 404 for add to cart link: /checkout/cart/add/uenc/…../product/1432/ when clicked in product view page. In category view all is fine. It seems like it is related to varnish cache as when I switch back to built in cache: redis, everything is fine. When checking […]
It’s puzzling. weird: https://pegeen.com/catalogsearch/result/?q=classic normal: https://pegeen.com/catalogsearch/result/?q=everyday Magento 2.x