Skip to main content

Questions tagged [state]

The tag has no usage guidance.

10 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
104 views

Magento 2 | Prevent saving the completed state on the order

In Magento2, when the payment of the order is made by credit card, the invoice is immediately generated. This involves saving the order with a completed state as soon as the shipment is created. Is it ...
Jackom's user avatar
  • 493
2 votes
0 answers
1k views

Magento 2.3 -> 2.4: CLI commands all throw "Area code is not set"

The story so far: I'm updating Magento from 2.3 to 2.4 and in doing so I'm now getting an "Area code is not set" when running any CLI command. This did not happen in 2.3 and after looking at ...
Higgs's user avatar
  • 21
2 votes
1 answer
6k views

Magento 2: Getting “regionId is a required field.” when I click button "Place Order"

I am Getting regionId is a required field. when I click button "Place Order" on the checkout page I tried this solution https://magento.stackexchange.com/a/205232/65951 and it worked but then ...
Bhakti Thakkar's user avatar
1 vote
1 answer
62 views

How to Remove Zipcode, State and Company from Magento 2.3

As per the title, you can realize that its a very old and repetitive question, but actually I could not find a solid answer !! I want your help (step by step) how to "remove/disable" the Zipcode &...
mohammad ramadan's user avatar
1 vote
1 answer
375 views

1.9 CE - Set variable to either region or region_id if customer in USA

Appologies but new to PHP... Need to pass a value for 'state' to payment gateway which can be any string for non USA customers but must be two character code for USA (based on drop down list). '...
TerryYo's user avatar
  • 11
0 votes
0 answers
70 views

How do i add an empty option to state value in magento2 checkout page?

I'm working on customizing the Magento 2 checkout page, and I need to add an empty option to the state field in the billing address section. I want this empty option to be displayed as the first ...
Haerriz's user avatar
  • 681
0 votes
0 answers
31 views

Magento 2 : Custom dropdown for city and state not loading in IE

I created custom city and state dropdown all working fine but in the IE it is not loading. Can anyone please help.?
Mayur Sisodiya's user avatar
0 votes
1 answer
847 views

Magento2 : How to show country and state dropdown field in customer account information section in admin?

I want to add country and state dropdown field in account information in Magento2 admin? Googled a lot, but not able to find right solution. Any help would be appreciated.
Amy's user avatar
  • 935
0 votes
0 answers
273 views

Force change State/Status to Complete

Is possible to change the state of the order to complete? $order->setSate(Mage_Sales_Model_Order::STATE_COMPLETE); $order->save(); Programmatically : setState(Mage_Sales_Model_Order::...
JhAndrade's user avatar
0 votes
1 answer
107 views

Magento 1.9 CE State Region confusion

My payment gateway (Ecorepay) requires customer address to include state/province. It works when I pass the region_id (for countries where I have a drop down list) my question is where is the region ...
jonohara1's user avatar