Magento1
is there any way to use the function from js file to phtml file. Below is the js file that i have called through the data-mage-init. define([ 'jquery', 'jquery/ui' ], function($) { 'use strict'; $.widget('mage.simple2', { _method2: function() { console.log('method2'); }, _method: function() { console.log('method'); } }); return $.mage.simple2; }); […]
How can I send order confirmation emails to the customers, who have completed orders from the front end? I know by default Magento sends transactional email when any new order is placed, but what I want is to have an option in bulk operation to send order email from sales […]
I have applied a filter in a PHTML that loads in headers. The filter is below. In Constructor: MagentoCatalogModelResourceModelCategoryCollection $collection Block Code: public function getAllCategories(){ return $this->collection; } In PHTML: $getAllCategories = $block->getAllCategories(); $getAllCategories->addAttributeToSelect('*')->addAttributeToFilter('entity_id',array('in' => array($attributVaueArray)))->setOrder('updated_at', 'desc'); But I need to get the same collection in different PHTML without filters. […]
I am looking to create a Custom Payment Method. There are several tutorials online, and they all say that the system.xml and config.xml are the important files. The command I used to install is: php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f I have used multiple […]
Is there anything out in the marketplace like this already? I’m willing to put in the work to build the solution but thought I’d check here for some pre-existing module or partial code i could use.
I am getting this error that I couldn’t know from where it is generated 1 exception(s): Exception #0 (LogicException): Front controller reached 100 router match iterations I think it is coming from …/dix.ml SimplifiedMagentoRequestFlowControllerPageRouter false 61 If anyone has an idea about this error ? Thanks in advance
I’am following this tutorial https://www.mageplaza.com/devdocs/magento-2-category-attributes-programmatically/ added the field to save new attribute but not working, write the information but to save in button top, refresh the page and not save the information. I’m using magento 2.4
I’m getting the below error after upgrade from Magento 2.3.6 to 2.4.2-p1 from Docker Image. LogicException: Circular dependency: customLogger depends on customLogger and vice versa. in /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:57 Stack trace: #0 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create(‘customLogger’) #1 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(206): MagentoFrameworkObjectManagerObjectManager->get(‘customLogger’) #2 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(182): MagentoFrameworkObjectManagerFactoryAbstractFactory->parseArray(Array) #3 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(276): MagentoFrameworkObjectManagerFactoryAbstractFactory->resolveArgument(Array, NULL, Array, ‘handlers’, ‘customLogger’) #4 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(239): MagentoFrameworkObjectManagerFactoryAbstractFactory->getResolvedArgument(‘customLogger’, Array, Array) […]