Skip to content

Can we safely return false for MagentoBundleModelProductType::isVirtual?

We are only using simple products as child of Bundle product. Could we safely return early with false? for isVirtual method of Bundle class? # Class: MagentoBundleModelProductType public function isVirtual($product) { /*if ($product->hasCustomOptions()) { $customOption = $product->getCustomOption(‘bundle_selection_ids’); $selectionIds = $this->serializer->unserialize($customOption->getValue());… Read More »Can we safely return false for MagentoBundleModelProductType::isVirtual?

Anyone tried this Hostinger AI Cheap Package?

Hey, I tried searching, not sure if I typed in the wrong keywords or something, but couldn’t find anything on this. Has anyone tried H… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1947145&goto=newpost

Uncaught Exception: Warning: fwrite(): SSL operation failed with code 1

Magento 2.4 is using this module facinf error while sending success email: error:1420C0CF:SSL routines:ssl_write_internal:protocol is shutdown in /app/vendor/laminas/laminas-mail/src/Protocol/AbstractProtocol.php on line 253 in /app/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 [internal function]: MagentoFrameworkAppErrorHandler->handler() #1 /app/vendor/laminas/laminas-mail/src/Protocol/AbstractProtocol.php(253): fwrite() #2 /app/vendor/laminas/laminas-mail/src/Protocol/Smtp.php(454): LaminasMailProtocolAbstractProtocol->_send() #3 /app/vendor/laminas/laminas-mail/src/Protocol/Smtp.php(493): LaminasMailProtocolSmtp->quit() #4 /op… Read More »Uncaught Exception: Warning: fwrite(): SSL operation failed with code 1

Magento 2.4: Custom Block not return values to custom phtml file

I want to get my wishlist product list on my custom phtml file, My block: appcodevendormoduleBlockWishlistProducts.php <?php namespace VendorModuleBlock; use MagentoFrameworkViewElementTemplateContext; use MagentoCatalogModelResourceModelProductCollectionFactory; use MagentoWishlistModelResourceModelItemCollectionFactory as WishlistCollectionFactory; use MagentoCustomerModelSession; class WishlistProducts extends MagentoFrameworkViewElementTemplate { protected $_wishlistCollectionFactory; protected $_customerSession; protected $_productCollectionFactory;… Read More »Magento 2.4: Custom Block not return values to custom phtml file