#StackBounty: #magento2.3 #addtocart Increase the success/exception message time span in Magento 2

Bounty: 50

When product add to cart the success/exception message is hiding rapidly, So I just tried below way to show/increase the time span of the message. But it’s not worked for me.

I have modified the messages.js file as below from vendor/magento/Module-Ui/view/frontend/web/js/view/messages.js

         * @param {Boolean} isHidden
        onHiddenChange: function (isHidden) {
            var self = this; 
            // Hide message block if needed
             if (isHidden) {
                setTimeout(function () {
                    $(self.selector).hide('blind', {}, 500);
                }, 50000);

The above code is not working for me. Please suggest me increase the time span of the message.

enter image description here

Get this bounty!!!

#StackBounty: #magento2.3 #multi-source-inventory #vendor #magento2-b2b B2B Multiple warehouse management for sellers and shipping from…

Bounty: 50

single vendor multiple warehouse concept in B2B. Like vendors, warehouses should be located in different cities.
Is there any extension available for this and any idea about this.

Multiple warehouse management for sellers and shipping from multiple warehouses.

Example: Asian paints have two warehouses. Warehouse A and Warehouse B
If an order is placed, I can ship from A or B.

The warehouse will have products. If I shop from that warehouse then stock gets reduced from there.

Any help would be appreciated.

Get this bounty!!!

#StackBounty: #magento2.3 #varnish No ajax call made in production mode, no HITs in varnish

Bounty: 100

Please correct me if I’m wrong: According to the explanations on the web, magento should be loading pages using AJAXs and some of those calls should be cached by the varnish.

I successfully configured varnish. When in developer mode, pages are loaded by AJAX calls, some of which are HITs as expected. However, when I switch to production mode, no ajax calls made, whole page is loaded as a single html, thus I am not getting any HITs.

What am I doing wrong? Please help me fix this issue.

Get this bounty!!!

#StackBounty: #magento2.3 #compare #attribute-group Magento 2.3 – Add attribute group name on compare products page

Bounty: 150

We want to implement the attribute group name on the compare product page and separate all attributes based on the attribute group.

We use the following code to show the attribute group name on the specifications section on the product page.

How can we implement this on the product compare page?


namespace AttributeGroupModuleBlockProduct;

class Specification extends MagentoCatalogBlockProductView
      * @var MagentoEavModelResourceModelEntityAttributeGroupCollectionFactory
     protected $groupCollectionFactory;

     public function __construct(
         MagentoCatalogBlockProductContext $context,
         MagentoFrameworkUrlEncoderInterface $urlEncoder,
         MagentoFrameworkJsonEncoderInterface $jsonEncoder,
         MagentoFrameworkStdlibStringUtils $string,
         MagentoCatalogHelperProduct $productHelper,
         MagentoCatalogModelProductTypesConfigInterface $productTypeConfig,
         MagentoFrameworkLocaleFormatInterface $localeFormat,
         MagentoCustomerModelSession $customerSession,
         MagentoCatalogApiProductRepositoryInterface $productRepository,
         MagentoFrameworkPricingPriceCurrencyInterface $priceCurrency,
         MagentoEavModelResourceModelEntityAttributeGroupCollectionFactory $groupCollectionFactory,
         array $data = []
    ) {
        parent::__construct($context, $urlEncoder, $jsonEncoder, $string,
        $productHelper, $productTypeConfig, $localeFormat, $customerSession,
        $productRepository, $priceCurrency, $data);
        $this->groupCollectionFactory = $groupCollectionFactory;

    public function getAttributeLabels()
    $product = $this->getProduct();

    $attributeSetId = $product->getAttributeSetId();

    $groupCollection = $this->groupCollectionFactory->create()

    $html = '';
    foreach ($groupCollection as $group) {
        $attributes = $product->getAttributes($group->getId(), true);

        $new_html = "";
        foreach ($attributes as $key => $attribute) {
            if($attribute->getIsVisibleOnFront() && $attribute->getFrontend()->getValue($product) !="" && $attribute->getFrontend()->getValue($product) !="Non"){

                $new_html .= '<div class="product-specs-list-item">
                                <dt class="product-specs-item-title">' . $attribute->getStoreLabel(). '</dt>
                                <dl class="product-specs-item-spec">' . $attribute->getFrontend()->getValue($product) . '</dl>              



            $html .= "<div class='grid-section-xs-specification active'>";
            $html .= '<h3 class="noselect toggle-specification">' . $group->getData('attribute_group_name').'</h3>';
            $html .= "<dl class='product-specs'>";
            $html .= $new_html;
            $html .= "</dl>


    return $html;

Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #magento2.3.4 How to Add tax value in Price filter magento2?

Bounty: 50

I have 100 products and all products have different tax rule and i also do settings from backend to display tax inclusive price display in catalog product list now when i do the price filter its doing filter on normal price and shows the product above the price filter so how can i add tax value in my price filter for better understanding i attach the image.
enter image description here

Get this bounty!!!

#StackBounty: #magento2 #magento2.3 #magento2.3.5 How to get block details based on observer element name in Magento 2.3.5

Bounty: 50

I had below code which was working fine on Magento 2.2 after upgrading to 2.3.5 event observer not working as expected.


<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
    <event name="core_layout_render_element">
      <observer name="mycompany_delivery_date_add_to_order_view" instance="MyCompanyDeliveryDateObserverOrderShippingBlockObserver" />


if($observer->getElementName() == 'sales.order.info') {
   $orderShippingViewBlock = $observer->getLayout()->getBlock($observer->getElementName());
   $order = $orderShippingViewBlock->getOrder();

This used to be working before in Magento 2.2 now I don’t see the observer element name as sales.order.info. the ultimate goal here is to modify the output of the block and render it again.

$html = $observer->getTransport()->getOutput() . $deliveryDateBlock->toHtml();

Get this bounty!!!

#StackBounty: #magento2.3 #javascript #theme #css #rwd How to use responsive.js in a theme derived from Luma?

Bounty: 50

The Magento DevDocs says

You can use the menu.js, responsive.js and matchMedia.js to add
responsive behavior in your custom theme. If your theme inherits from
Blank or Luma, you do not even need to additionally include the script
files in your theme.

But what does this actually mean in practice? I need to alter some css classes/onclick behaviour based on the media query, but if I don’t even need to additionally include the script files in my theme, how does it work?

Get this bounty!!!