I am using Magento2.3.0 i need to brand filter sorting for left side layer navigation. I attached image for layered navigation to clearly understand, where am i need.

enter image description here

  • Please reply if any one know how to sort for brand left side – Rv Singh May 28 '19 at 11:45
  • can you please check with admin attribute panel move up-down. I checked in 2.3.1, its working – Anas Mansuri May 28 '19 at 11:47
  • but my question is not admin side to move up down i need to programmatically fix this issue because if more than attribute option not every time up down – Rv Singh May 28 '19 at 11:50
  • eav_attribute_option - check with this table. I hope its very helpful to you. – Anas Mansuri May 28 '19 at 12:07
  • $this->_option->setValue($name); $this->_attributeOptionLabel->setStoreId(0); $this->_attributeOptionLabel->setLabel($name); $this->_option->setLabel($this->_attributeOptionLabel); $this->_option->setStoreLabels([$this->_attributeOptionLabel]); $this->_option->setSortOrder(0); $this->_option->setIsDefault(false); $this->_attributeOptionManagement->add('catalog_product', $attribute_id, $this->_option); – Anas Mansuri May 28 '19 at 12:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.