Let’s say I’m debugging an custom Admin form and in my save controller I print out the data: print_r($this->getRequest()->getPostValue()); exit; On the first submit this works fine and the posted data is displayed. If I refresh the page though, the posted data is not submitted and the page is redirected […]
Magento
I am trying to get going with Magento 2’s REST API interface, and I did the following: I made a new “Integration”, which gave me the Consumer Key and Secret and the Access Token and Secret. I setup a call like this (using an external REST tool): GET https://[url]/rest/[code]/V1/categories Content-Type: […]
Can anyone explain why exactly a configurable product for which every virtual product’s quantity goes down to zero, and said product subsequently disappears from the store, won’t come back even if the quantities are brought back to >0 by hand and the status is specifically set to “in-stock”? This is […]
One of the customer has the country and state details as below Postal Code-TKCA 1ZZ City-PROVIDENCIALES State-TCA Country-TCA County-TCA I have fixed by assigning country id as TC and region as TCA. However there is no region id associated with this state and for this reason Magento is not displaying […]
I don’t know what’s wrong here, while I tried to attempt Magento2.4 from remote than this error occurred repeatedly. php -> 8.1.6 magento -> 2.4 note: In the host server it is working perfectly with out an error.
Could anybody help me please? I updated a website in Magento from version 2.3.5 to 2.4.4, but my checkout page has an issue. This page shows “Something went wrong with your request. Please try again later.”. I can see in my browser console some alerts with 404 not found message […]
I’m currently having issues with overriding the default Magento Checkout shipping.html template using my custom module when upgrading to Magento 2.4.4. Whenever I attempt to override shipping.html the shipping form and shipping method on the checkout page is not being rendered. I have tested the same module with Magento 2.4.3 and […]
I’m making available to the user the option for him to edit his personal information during checkout, when he is logged in. How could I do this? which class should i extend ?
I am stuck. Can someone please correct my code? define([ 'underscore', 'Magento_Checkout/js/model/payment/method-list', 'Magento_Checkout/js/action/select-payment-method', 'mage/utils/wrapper', 'Magento_Checkout/js/model/quote', ], function (_, methodList, selectPaymentMethod, wrapper, quote) { 'use strict'; var isCashOnDeliveryMethod = function (paymentMethod) { return paymentMethod.method === 'cashondelivery'; } return function (paymentService) { var setPaymentMethods = paymentService.setPaymentMethods; setPaymentMethods = wrapper.wrap(setPaymentMethods, function(original,methods){ console.log('before'); var […]