Skip to content

magento man

How to redirect the custom button on product page

Newbie here. How can I redirect the customize button on its product page? I’ve created the button inside the list.phtml <button type=”submit” id=”subs” style=”margin-bottom:5px;” onclick=”window.location.href='{The bag product URL}’;”>Subscribe</button>

Unable to Unserilize the values in phtml Magento2

I have added a blockfunction in (vendormoduleBlockDealz) as public function __construct ( MagentoFrameworkSerializeSerializerInterface $serializer ) { $this->serializer = $serializer; } public function unSerialize($link) { return $this->serializer->unserialize($link); } After that called the function in banner.phtml as $blockData = $block->getBlockData(); <?php foreach… Read More »Unable to Unserilize the values in phtml Magento2

How to disable Magento_JwtUserToken

I want to disable Magento_JwtUserToken Module but it is showing following error bin/magento module:disable Magento_JwtUserToken Unable to change status of modules because of the following constraints: Cannot disable Magento_JwtUserToken because modules depend on it: Magento_AdobeStockAdminUi: Magento_AdobeStockAdminUi->Magento_AdminAdobeIms->Magento_JwtUserToken Magento_AdminAdobeIms: Magento_AdminAdobeIms->Magento_JwtUserToken I want… Read More »How to disable Magento_JwtUserToken