Skip to content

magento man

How to add htmlContent UI Component in product_form.xml custom attribute product group?

I create a custom product attribute with a custom group like this: $eavSetup->addAttribute( MagentoCatalogModelProduct::ENTITY, ‘trademark’, [ ‘type’ => ‘varchar’, ‘label’ => ‘Trademark’, ‘input’ => ‘text’, ‘source’ => ”, ‘frontend’ => ”, ‘required’ => false, ‘backend’ => ”, ‘sort_order’ => ’75’,… Read More »How to add htmlContent UI Component in product_form.xml custom attribute product group?

Varnish and cache warmer

I use cache warmer (Mirasvit) with Varnish. Cache warmer doesn’t work correctly – either doesn’t warm up product pages (config from: https://www.varnish-software.com/developers/tutorials/configuring-varnish-magento/) or nothing at all when standard config is in use. What kind of changes does standard varnish config… Read More »Varnish and cache warmer

Magento2.4.2: How to sort product collection by sub category as shown in this picture?

I want to sort products by sub category as seen in this picture like Sort by Summer Collection as Muzlin summer 20 or Sort by winter collection and i’m following this approach VendorModuleModelVisualMerchandiserSortingSummerCollection.php <?php declare(strict_types=1); /** * Copyright © Magento,… Read More »Magento2.4.2: How to sort product collection by sub category as shown in this picture?