New answers tagged

1

Vendor\Module\etc\di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="Magento\CatalogSearch\Model\Search\IndexBuilder"> <plugin name="Custom_Layernavigation::CustomLayernavigation" type="Vendor\Module\Plugin\...


1

Go with all below mentioned solutions/post, some of them will definitely help you. Layered navigation for custom collection on custom page - magento2 https://webkul.com/blog/how-to-create-layered-navigation-on-custom-page-in-magento-2/ https://www.mageplaza.com/blog/custom-product-collection-layered-navigation-magento-2.html http://www.techytalk.info/...


0

In my case, this worked for me: if (version_compare($context->getVersion(), '0.0.9', '<')) { $customerSetup->updateAttribute(\Magento\Customer\Model\Customer::ENTITY, 'your_attribute_id', ['required' => true]); }


2

First you need to create english_short_description and czech_short_description attribute for product and assign in particular attribute set And you need to override the attribute.phtml file under app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/view/attribute.phtml and use the code below: <?php $_helper = $this->helper('Magento\...


1

you have to convert and update in your database. You can resolve it in file /vendor/magento/framework/Serialize/Serializer/Json.php by using this query: public function unserialize($string) { $result = json_decode($string, true); if (json_last_error() !== JSON_ERROR_NONE) { $result = @$this->unserialize($string); if($result){ ...


0

For the people looking for this, I have fixed this with a workaround by making a seperate category for the attributes and adding the category_id tag in the carousels as mentioned in the Porto Manual


0

I solved my issue: app/code/EC/OrderPrintStatus/view/adminhtml/ui_component/sales_order_grid.xml <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <columns name="sales_order_columns"> <...


0

you can use below to get default attribute text $_condition = $_product->getAttributeText('condition'); $prod= $_product->setStoreId(0); $_coditionDefault =$_product->getResource()->getAttribute('condition')->getFrontend()->getValue($_product);


Top 50 recent answers are included