Blog
i am using below code to show items in wishlist, but it shows only 3 items I want to show all items in wishlist < ?php $wishlistHelper = $this->helper('MagentoWishlistHelperData'); ?> < ?= $block->escapeHtml($block->getTitle()) ?> < ?= $block->escapeHtml(__('Last Added Items')) ?> < ?= $block->escapeHtml(__('Add to Cart')) ?> < ?= $block->escapeHtml(__('Add to […]
I have a script running in cron to import products. This import creates simple products and then creates a configurable one with all these simple ones as children of that. During this process, I insert images into the simple and configurable products and on the store’s home page I list […]
Good day, From magento ce 2.3.4 admin just in configuration module I can not save or saving button is not working: a) Firefox most of the time not working B) google chrome sometimes not working c) Microsoft edge works ok console says: “TypeError: d[0] is undefined” related to https://cdn.mysite/pub/static/versionxxxxxx/adminhtml/Magento/backend/en_US/Dotdigitalgroup_Email/js/node_modules/fancybox/jquery.fancybox.pack.min.js In […]
I have created datapatch to delete products with specific value on attribute manufacturer. I want to delete all products whose manufacturer is LG , my datapatch looks like that < ?php declare(strict_types=1); namespace DevAllExtensionSettingConfigSetupPatchData; use MagentoFrameworkExceptionStateException; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoEavSetupEavSetup; use MagentoEavApiAttributeRepositoryInterface; use MagentoCatalogModelResourceModelProductAttributeCollectionFactory; use MagentoCatalogModelProductRepository; use MagentoFrameworkApiSearchCriteriaBuilder; class RemoveLGManufacturer […]
My current store’s staging instance does not have crontab set up as far as I can tell. The cron_schedule table is empty. Is this needed for custom modules/themes/etc to work properly? What is the most basic setup I can do in order to get the above to work if needed? […]
Recently, I noticed that echos in which I include lots of “!” result in weird stuff. For example: echo !! gives me: echo rm -r * 1000 rm -r * 1000 (rm -r * was the last command I executed before typing it). Why is this happening, and is there […]