Skip to content
COFFEE WITH MAGENTO

COFFEE WITH MAGENTO

Technical Solution of Magento

  • Home
  • Magento
  • Knockout series
  • About Us
  • Contact

Category: Magento

Posted on January 27, 2021January 4, 2022

How to create order programmatically in Magento 2

We will define prepare our code in helper. In that function, we have to pass parameters for order creation.

Continue reading “How to create order programmatically in Magento 2”
Posted on January 26, 2021January 4, 2022

Drop a column from the table using db_schema.xml in Magento 2

Well, now in Magento 2 one can create a table using db_schema.xml if you want to drop column(s) using the same approach. You landed on the right page.

Drop column using attribute disabled=”true” in db_schema.xml.

Continue reading “Drop a column from the table using db_schema.xml in Magento 2”
Posted on January 24, 2021January 4, 2022

How to add static cms block in xml file

  1. CMS block calling from layout.

block_id = CMS block identifier

Continue reading “How to add static cms block in xml file”
Posted on January 24, 2021January 4, 2022

How to load Order by increment id

Get order data by increment id in magento 2

To get order first name, last name, order id, order total and other data using Magento\Sales\Api\Data\OrderInterfaceFactory interface.

Continue reading “How to load Order by increment id”
Posted on January 11, 2021January 4, 2022

How to load customer by id

Get customer data by id in magento 2

To get customer first name, last name, customer group and other data using Magento\Customer\Api\CustomerRepositoryInterface interface.

Continue reading “How to load customer by id”

Posts navigation

Previous page Page 1 Page 2 Page 3 Page 4 Next page

Search

Coffee with magento

Magento Technical and Programming Blog.

© 2022 Cooffeewithmagento All Rights Reserved.
Protected by Copyscape
  • Facebook
  • Instagram
Proudly powered by WordPress