Skip to content

magento man

Magento2 getdescription is returning pagebuilder html

Magento2 $product->getDescription() is giving html code like below <style>#html-body [data-pb-style=D79DM0X]{background-position:left top;background-size:cover;background-repeat:no-repeat;background-attachment:scroll;align-self:stretch}#html-body [data-pb-style=PIN2M1D]{display:flex;width:100%}#html-body [data-pb-style=C6E1WWV]{justify-content:flex-start;display:flex;flex-direction:column;background-position:left top;background-size:cover;background-repeat:no-repeat;background-attachment:scroll;width:100%;align-self:stretch}</style><div class=”pagebuilder-column-group” data-background-images=”{}” data-content-type=”column-group” data-appearance=”default” data-grid-size=”12″ data-element=”main” data-pb-style=”D79DM0X”><div class=”pagebuilder-column-line” data-content-type=”column-line” data-element=”main” data-pb-style=”PIN2M1D”><div class=”pagebuilder-column” data-content-type=”column” data-appearance=”full-height” data-background-images=”{}” data-element=”main” data-pb-style=”C6E1WWV”><div data-content-type=”text” data-appearance=”default” data-element=”main”><p>fgdsfgdfgdf</p></div></div></div></div> I need to send a description… Read More »Magento2 getdescription is returning pagebuilder html

Issue with customer Grid collection in admin when used UNION in Magento2

I am rendering customer grid in the admin panel with some additional fields from the custom table. The grid is throwing with duplicate column error. I have used the below code. Vendor/Module/etc/adminhtml/di.xml <?xml version=”1.0″ encoding=”UTF-8″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”MagentoCustomerModelResourceModelGridCollection”>… Read More »Issue with customer Grid collection in admin when used UNION in Magento2