Skip to content

magento man

How to print custom attribute on Product listing page?

my catalog_category_view.xml </body> my custom_attribte.phtml getProduct(); $attrData = $product->getData(‘feature’); $blockTitle = $this->getData(‘title’); if ($attrData !== “”) : ?> <div class=”product-full-width-section”> <h2 class=”product-section-title”><?= $blockTitle; ?></h2> <?php echo $attrData; ?> </div>

Below code for PLP page Sort-By Price Low-High & High-Low working properly in M2.3.6 EE but not in M2.4.5 EE , any solution?

Lokesh/CatalogExtended/etc/di.xml <?xml version=”1.0″ ?> <type name=”MagentoCatalogBlockProductProductListToolbar”> <plugin disabled=”false” name=”Lokesh_CatalogExtended_Block_Toolbar” sortOrder=”10″ type=”LokeshCatalogExtendedPluginCatalogBlockToolbar”/> </type> <type name=”MagentoCatalogModelConfig”> <plugin disabled=”false” name=”Lokesh_CatalogExtended_Model_Config” sortOrder=”11″ type=”LokeshCatalogExtendedPluginCatalogModelConfig”/> </type> </config> Lokesh/CatalogExtended/Plugin/Catalog/Block/Toolbar.php namespace LokeshCatalogExtendedPluginCatalogBlock; class Toolbar { public function aroundSetCollection( MagentoCatalogBlockProductProductListToolbar $subject, Closure $proceed, $collection ) { $currentOrder = $subject->getCurrentOrder();… Read More »Below code for PLP page Sort-By Price Low-High & High-Low working properly in M2.3.6 EE but not in M2.4.5 EE , any solution?

Automatically create Integration

is there a “new” way to create integrations automatically? Since my modul is gonna be tested in different environments/systems, creating integrations automatically is kind of crucial. check my code below with minor changes from https://devdocs.magento.com/guides/v2.3/get-started/create-integration.html <?php namespace VendorModulSetup; use MagentoFrameworkSetupModuleContextInterface;… Read More »Automatically create Integration

Mail sending solutions?

Hi, I have multiple servers running Ubuntu Plesk with a decent amount of customers. Currently, I setup Send In Blue (SIB) SMTP for the s… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1894735&goto=newpost

Webhosting for a Small Church

Hey, My church is looking for a reliable host for our website. I’ve been out of the loop in hosting for a long time. I was wondering what… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1894760&goto=newpost

JavaScript not executed when it has Magento_Customer/js/customer-data dependencia in define

I have a JS file like this: define([ ‘jquery’, ‘underscore’, ‘matchMedia’, ‘text!ajaxcart/template/modal-slide.html’, ‘text!ajaxcart/template/modal-popup.html’, ‘Magento_Customer/js/customer-data’, ‘Magento_Catalog/product/view/validation’, ‘Magento_Ui/js/modal/modal’, ‘mage/translate’ ], function($, _, mediaCheck, _slideTpl, _popupTpl, customerData) { … } But for some reason, it is not entered into the code in function… Read More »JavaScript not executed when it has Magento_Customer/js/customer-data dependencia in define