Added “grunt-contrib-livereload”: “^0.1.2” to sass compile grunt config. Yes, it’s reloading, but whole DOM. Magento 2 native config reloader reloading just the styles, not page reload. How I can setup grunt in this way? module.exports = function (grunt) { const sass = require('node-sass'); const timer = require('grunt-timer'); require('time-grunt')(grunt); require('load-grunt-tasks')(grunt); timer.init(grunt, […]
Magento
We just recently tested upgrading from M2.2.4 to M2.3.7 and have ironed out most of the issues, however when trying to load a page, we get the following error: Fatal error: Uncaught Error: Object of class MagentoFrameworkViewPageTitle could not be converted to string in /app/code/CleverSoft/Base/Model/Renderer.php:141 Stack trace: #0 /app/code/CleverSoft/Base/Model/Renderer.php(141): str_replace(Array, […]
Is it possible to set the shipping address in the cart if I have 2 inputs(county and city)? What I want is to have that estimated delivery to have a real price, not 0.00. Thank you! I use Magento 2.3
Error: Class 'MagentoCatalogObserverSetSpecialPriceStartDate' not found in /var/www/html/mage/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 Stack trace: #0 /var/www/html/mage/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() #1 /var/www/html/mage/vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryCompiled->create() #2 /var/www/html/mage/vendor/magento/framework/Event/ObserverFactory.php(33): MagentoFrameworkObjectManagerObjectManager->get() #3 /var/www/html/mage/vendor/magento/framework/Event/Invoker/InvokerDefault.php(72): MagentoFrameworkEventObserverFactory->get() #4 /var/www/html/mage/vendor/magento/framework/Event/Manager.php(66): MagentoFrameworkEventInvokerInvokerDefault->dispatch() #5 /var/www/html/mage/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): MagentoFrameworkEventManager->dispatch() #6 /var/www/html/mage/vendor/magento/framework/Model/AbstractModel.php(702): MagentoFrameworkEventManagerProxy->dispatch() #7 /var/www/html/mage/vendor/magento/module-catalog/Model/AbstractModel.php(383): MagentoFrameworkModelAbstractModel->beforeSave() #8 /var/www/html/mage/vendor/magento/module-catalog/Model/Product.php(935): MagentoCatalogModelAbstractModel->beforeSave() #9 /var/www/html/mage/generated/code/Magento/Catalog/Model/Product/Interceptor.php(230): MagentoCatalogModelProduct->beforeSave() #10 /var/www/html/mage/vendor/magento/framework/EntityManager/Observer/BeforeEntitySave.php(34): MagentoCatalogModelProductInterceptor->beforeSave() #11 /var/www/html/mage/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): MagentoFrameworkEntityManagerObserverBeforeEntitySave->execute() #12 /var/www/html/mage/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod() #13 /var/www/html/mage/vendor/magento/framework/Event/Manager.php(66): […]
Magento 2.3 we we click add to cart we get a success message but the shopping cart icon in top right corner of page does not update to show 1 item is in the cart. When hover over the shopping cart the mini cart drop down box shows empty. When […]
I have recently installed a magento 2.4.3 version and for some reason the product images are not displaying correctly in the frontend. The source url magento is displaying: https://4youshop.online/media/catalog/producth/i/high_68271040_0971007033.jpg the correct url however is: https://4youshop.online/media/catalog/product**/**h/i/high_68271040_0971007033.jpg As you guys can see, magento is missing the final slash after product. We have […]
I have an event <?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="layout_load_before"> <observer name="redirect_pro_homepage" instance="CpyCheckUrlObserverRedirectVisitor" /> </event> </config> In local env; this observer is called. In my sandbox env this observer is called. In my preproduction env, this observer is not called.Can’t understand why. Any explanation on what might cause this […]
I created an overwrite path in app/design/frontend/<name_vendor>/default/Magento_Customer/frontend/web/template/authentication-popup.html Here I understand that I can change the texts. Where can I trigger a pop-up on all pages except login / registration? If someone logs in, pop up cannot appear. Invokes it in the console: jQuery('.block-authentication').modal('openModal');
We sell parts for vehicles which require the customer to select their vehicle, once selected the correct sku is shown to them and they can add it to their cart. We want the ability to save the vehicle selected to the line in the cart. This way when they are […]