Linked Questions

0 votes
0 answers
70 views

How to checkout product programatically? [duplicate]

I need to checkout a product when a user comes to a specific block with a specified transfer method. I hope will get help.
user avatar
  • 828
0 votes
0 answers
44 views

Where to write parameters to create order programmatically in Magento 2? [duplicate]

I want to create order programmatically in Magento 2: I have followed this link https://www.mageplaza.com/devdocs/magento-2-create-order-programmatically.html Now, My questions are: 1. Where I ...
user avatar
2 votes
3 answers
5k views

Programatically Create Order in Magento 2.1

Has anyone figured out how to programatically create an order in Magento 2.1 yet ? There are a few tutorials kicking around for 2.0 which work nicely but every since I upgraded it no longer works. ...
user avatar
  • 1,094
1 vote
4 answers
3k views

Magento 2 - create order programmatically with flat rate - No shipping information available

I tried to create order programmatically with flat rate shipping method with the help of below code. Here, order created successfully but shipping method and rates not apply to order. use Magento\...
user avatar
1 vote
0 answers
5k views

Update shipping address programmatically in magento 2?

Basically the store have 4 currency and when user change currency the default shipping country should be updated. Example USD - shipping country USA GBP - shipping country UK EUR - shipping country ...
user avatar
0 votes
1 answer
4k views

Magento 2 create orders programmatically with multiple items

I want to create orders with the multiple items using XML. I have gone through the below tutorials but it's working fine with the single items but not multiple items. https://webkul.com/blog/create-...
user avatar
2 votes
1 answer
3k views

How to programmatically set a customizable Option in magento2?

I'm creating an order via code, more or less along the lines of How to create order programmatically in Magento 2?. But I don't find a way to set a customizable option, that already exists on the ...
user avatar
0 votes
3 answers
2k views

how to create guest order in Magento-2 using test.php file

I try to create an order programmatically in magento2 using this code snippet found on webkul.com Order I want to create for guest customer.while script executing customer creating ... I don't want ...
user avatar
0 votes
1 answer
893 views

Magento 2 Place orders directly from shopping cart page

I have a Magento 2 website for Business to Agents. All agents (customers) need to be registered first in order to place an order. I want to skip the checkout page as when an agent logged in on ...
user avatar
3 votes
1 answer
873 views

How to Place order programmatically Magento 2

ive built a custom payment method followed a few tutorials to get the output. but im now stuck at the point where 'Place Order' won't work. I am using Magento 2. If i could get some guidance on where ...
user avatar
1 vote
1 answer
660 views

Magento 2 set created date to order when creating

I have followed the below steps to create an order in magento 2. But i want to set my preference date when creating it. How to create order programmatically in Magento 2?
user avatar
  • 1,128
3 votes
1 answer
393 views

Magento 2 place order in custom controller (difference between placeOrder and submit)

In How to create order programmatically in Magento 2? it shows two methods on how to place a quote as an order. The first method uses $order = $this->quoteManagement->submit($quote); via \...
user avatar
  • 668
0 votes
1 answer
392 views

How to programmatically set a customizable option to product on submitting form in magento 2?

I've already seen this post, but cannot use it : How to create order programmatically in Magento 2? I would like to be able to programmatically add products to cart, and I need to set 'Customizable ...
user avatar
0 votes
0 answers
308 views

Magento 2: cron not executing properly

I have created a custom module which will read order edi files and import orders in magento. To run this in scheduled basis, I have written cron for this job. <job name="import_order_edi" instance=...
user avatar
2 votes
1 answer
185 views

How to place order automatically on selected date by customer in magento 1.9 [closed]

I want to create one extension in that I want below functionality so please help me with that -> customer can choose the date from my account section -> On the selected date, customer-selected ...
user avatar
  • 1,873

15 30 50 per page