I have placed the commission amount on the checkout page. but we need get final the grand total after Subtract the grand total. any one can help me for that. Code is $amount = (int) (number_format($mazeOrder->getGrandTotal() * 100, 0, ".", "")); Like: $amount = (int) (number_format($mazeOrder->getGrandTotal() - getCommissionTotal() * 100, […]
Magento
On upgrading to Magento 2.4.4 got this error on running setup:upgrade command Class "MagentoFrameworkCommunicationConfigReaderXmlReader" does not exist This class is not used in any of the custom modules The class is present in vendor/magento/framework/Communication/Config/Reader/XmlReader.php
I am getting this error on Adobe Commerce 2.4.3-p1. I understand there are solutions for this issue. My question is how and why this issue occurs in the first place i know how to fix this since i have been doing it with previous version 2.3.5-p1 and now with 2.4.3-p1, […]
I am trying to use data from Rapnet on my Magento 2 store to setup a jewelry shop section. Are there any extensions which can help me acheive this? If the module has the functionality to provide custom ring then it will be more helpful.
I am trying to add validation to address fields. I have successfully achieved my requirement in checkout_index_index.xml for shipping address. same thing i want to have validation for add or edit address book. I have used following code for checkout_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="checkout.root"> <arguments> […]
AlertProcessor – Notification of product back in stock is not received Preconditions and environment Magento version 2.4.5-P1 PHP8.1 Expected result Alert stock email being sent Actual result Emails not triggered for Product Alerts. Steps to Reproduce Enable product alert stock (Configuration > Catalog >Product Alerts > Allow Alert When Product […]
Was going through official Magento Certification AD0-E717 mockup test, have a doubt on one of the answer – I selected option D but it’s showing Answer A – Here it’s clearly saying services.yaml for the same – https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/service/services-yaml.html#:~:text=The%20services.,Redis%2C%20and%20Elasticsearch%20or%20OpenSearch. Can anyone please confirm the best answer here, it’s confusing as services […]
On the payment page when we are updating the address or adding new address then discount amount is getting doubles.How we can re – calculate the discount on the payment page ? Is there any way that we can stop the discount code applying twice?
Fatal error: Uncaught Exception: User Error: Some transactions have not been committed or rolled back in /Users/apple/Sites/magento24/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 4067 in /Users/apple/Sites/magento24/vendor/magento/framework/App/ErrorHandler.php:62 Stack trace: #0 [internal function]: MagentoFrameworkAppErrorHandler->handler(256, ‘Some transactio…’, ‘/Users/apple/Si…’, 4067, Array) #1 /Users/apple/Sites/magento24/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(4067): trigger_error(‘Some transactio…’, 256) #2 [internal function]: MagentoFrameworkDBAdapterPdoMysql->__destruct() #3 {main} thrown in /Users/apple/Sites/magento24/vendor/magento/framework/App/ErrorHandler.php on line 62