So i have a problem with 2 shipping related modules that send data to third party after order has been made. The modules have almost the same code but they have their own namespaces and diffrent api URL POST requests. Lets say they are module A and module B. When […]
Magento1
We have a backend observer that sets a session variable after a shipment is created (sales_order_shipment_save_commit_after). It’s been working for over 2 years, but after the latest upgrade to 2.4.3-p1 the session parameter is not being updated. The issue is also present if we use the raw $_SESSION variable instead […]
I have deleted the 2nd Magento website and after deleting the 2nd website showing the following error please help me. how to resolve this issue {“0″:”The website with id 2 that was requested wasn’t found. Verify the website and try again.”,”1″:”#1 MagentoStoreModelStoreManager->getWebsite(2) called at [generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php:135]n#2 MagentoStoreModelStoreManagerInterfaceProxy->getWebsite(2) called at [vendor/magento/module-store/Model/Resolver/Website.php:31]n#3 MagentoStoreModelResolverWebsite->getScope(2) […]
I have created a custom ‘Forme’ product attribute select type based on option value class FormeOptions extends AbstractSource { /** * Get all options * * @return array */ public function getAllOptions() { if (null === $this->_options) { $this->_options=[ ['label' => __('-- Non renseigné --'), 'value' => 0], ['label' => […]
In the default Magento 2 transactional email, the payment info is loaded using {{var payment_html | raw}}. We want to load this paymenthtml also in a phtml block, but how can we achieve this? Already tried this but sadly that does not show any info: <?php $order = $this->getData('order'); echo […]
When I put the code to show the amount of items in the cart in my custom headerfile.phtml it doesn’t work, but when I access a checkout page it works perfectly, what to do? Here’s the code: <?php $cart = $this->helper('MagentoCheckoutHelperCart'); $itens = $cart->getQuote()->getItemsQty(); $itens = round($itens, 0); if ($itens […]
We have a magento 2.4.0 store. Most of our products are configurable. And some of them are having a lot of options. We also use swatch options. We have discovered some links which return: Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 56884378 Varnish cache server My […]
How to ensure the connection between RabbitMQ and Magento 2. Please help me to sort out this. I have successfully configured the RabbitMQ with Magento 2, And I have configured the same in my AWS server. But the bulk product import response throws the 500 internal server error. Please help
I want to add custom field i.e. pwd/confirm pwd in magento company register form i.e. B2B Register form. I will not send an email to customer for password. Can anyone give me an idea to do the same? Right now I am using it like this but somehow this is […]