Magento

$.widget is not a function Magento 2 fix

$.widget is not a function Magento 2 fix

 February 27, 2019

This issue is caused by multiple jquery instance, to fix it, just use the code below : 1. ADD : app/design/frontend/{Vendor}/{Theme}/requirejs-config.js 2. COPY lib/web/requirejs/require.js TO app/design/frontend/{Vendor}/{Theme}/web/requirejs/require.js 3. Line #1841 – 1885, change to : 4. Clear all caches, deploy static content. If this changes worked with you, please leave a comment 🙂

Get directory location on Magento 2

Get directory location on Magento 2

 January 4, 2019

Logging output on Magento 2

Logging output on Magento 2

 January 4, 2019

Result can be found on : var/log/module_debug.log

Base table or view not found Fix for Magento 1  Responsive Admin Template By CMSmart

Base table or view not found Fix for Magento 1 Responsive Admin Template By CMSmart

 August 28, 2018

Plugin Link : https://cmsmart.net/magento-themes/magento-responsive-admin-template Issue : Error in admin dashboard after installation SQLSTATE[42S02]: Base table or view not found: 1146 Table Fix Go to app/design/adminhtml/default/admintheme/template/dashboard/index.phtml Paste below code, line number 215

Override Magento 1 Controller Function (AccountController.php)

Override Magento 1 Controller Function (AccountController.php)

 August 3, 2018

Override Magento 1 Controller Function (AccountController.php) 1. Make a module file. app/etc/modules/Vendor_Module.xml 2. Make a module configuration file app/code/local/Vendor/Module/etc/config.xml 3. Create the file controller app/code/local/Vendor/Module/controllers/AccountController.php