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' => […]
Magento
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 […]
Does anyone know why a composer setup like this could cause the post-cmd-install magento 2 base deploy to not fire correctly? "extra": { "magento-force": "override", "magento-deploy-ignore": { "*": [ "/setup/config/application.config.php", "/.github/PULL_REQUEST_TEMPLATE.md", "/pub/.user.ini", "/.user.ini", "/.gitignore" ] } }, All other folders populate like pub and gihub, but not the setup folder.
I want to configure that my shop subtracts/reduces a defined stock value from the product stock specified in product or elsewhere. Is this possible and if, how can I do it?
Magento 2.4.2-p1 Smartwave Porto theme Extensions from Amasty We have migrated from Magento 1.9.4 to Magento 2.4.2-p1 using the Magento Migration Tool about a week ago but now we are getting 75% less sales on both of the websites/stores. I randomly checked the URLs of 100 products and out of […]