Magento 2.3.3 Store Switcher error

I have created multiple stores with multiple domains but when I select a store from frontend than giving below error. I have attached the screenshot of the error. Store Cookies does not set on multiple domains I have debugged and checked the code and print($fromStoreCode) but give blank. Magento\Store\Controller\Store\SwitchAction.php $fromStoreCode = $this->_request->getParam( ‘___from_store’, $this->storeCookieManager->getStoreCodeFromCookie() );…

How to write an observer with verification of existing id

I have bundle products on which I display selects with some data <?php /* @var $block \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Option\Select */ ?> <?php $_option = $block->getOption(); ?> <?php $_selections = $_option->getSelections(); ?> <?php $_default = $_option->getDefaultSelection(); ?> <?php list($_defaultQty, $_canChangeQty) = $block->getDefaultValues(); ?> <div class=”field option <?php echo ($_option->getRequired()) ? ‘ required’ : ”; ?>”> <label class=”label” for=”bundle-option-<?php…