Despite being enabled “Allow Gift Messages on Order Level”, it doesn’t show up in the edit cart page. Tried clearing cache, but it didn’t help.
Magento
With upgrade to Magento 2.4.4, I’m using checkout_onepage_controller_success_action to get order information that I insert into a custom table that I created in Magento. We’re allowing customers to enter gift message only in the cart page which means it is allowed at order level but not at the item level. […]
From stripe sdk I am able to create payment id successfully but when call api to create order in magento2 then getting authentication error. I am calling below API http://localhost/xxx/rest/default/V1/carts/mine/payment-information with below body { "paymentMethod": { "method": "stripe_payments", "additional_data": { "cc_stripejs_token": "pm_1LqgYeSIs8FpUNNkeMFrz05K" } }, "billing_address": { "email": "abc@gmail.com", "region": "New […]
I’m trying to use jquery in an adminhtml js file…but it seems not to be working and can’t get to understand why…any help would be appreciated ! Layout is like <head> <script src="Vendor_Module::js/logger.js"/> </head> Js file is like define([ 'jquery' ], function ($) { 'use strict'; }); But this throw […]
In my Magento 2.4.5 open source store, bulk update attributes are not working. Cron is running, and it appears everything else is running fine. Emails are being sent out for example. I have this code in app/etc/env.php: 'cron_consumers_runner' => [ 'cron_run' => true, 'max_messages' => 10000, 'consumers' => [ ] […]
When I run “composer install or “composer update” command from my magento 2.4.5 root folder I am getting this error. - Installing laminas/laminas-dependency-plugin (2.4.0): Extracting archive PHP Fatal error: Uncaught Error: Class "MagentoFrameworkComponentComponentRegistrar" not found in /public_html/setup/src/Magento/Setup/registration.php:9 Stack trace: #0 /public_html/app/etc/NonComposerComponentRegistration.php(29): require_once() #1 [internal function]: MagentoNonComposerComponentRegistration{closure}() #2 /public_html/app/etc/NonComposerComponentRegistration.php(31): array_map() #3 […]
With the code below, I’m trying to instantiate an helper class from my custom module. // Sanitize the $_GET[] value // Create an object of the order loaded with the $order_id passed as query string. $orderId = htmlspecialchars($_GET["order_id"]); $order = $objectManager->create('MagentoSalesModelOrder')->loadByIncrementID($orderId); // Instantiate app/code/Perfectmakeupmirrors/Order/Helper/Data.php // call assemble_order_info(Order $order) $helper = […]
I want to add custom clickable URL for the category image. Anyone can teach me what I need to do? I have to create a new attributes for the URL field?
I’m trying to remove disable from a button in form-mini.phtml but couldn’t find a way through jquery/javascript. I know it gets enabled after adding a few characters, but by default, it remains disabled. As I’m creating my own theme from scratch, I want that disabled attribute to be removed at […]