How to convert array data into Serialize format Magento 2.

Serialize array data using Magento 2 by natve SerializerInterface class.

The serialize method is used for storing or passing PHP values without losing their data type and structure.

serialize() method is used for serializing the data in Magento 2. Continue reading “How to convert array data into Serialize format Magento 2.”

Get Adminhtml quote session using Magento 2.

Magento Native supports multiple Sessions type for frontend and backend (adminhtml) system.

You can get admin Html(backend) quote session using Magento 2 by Magento\Backend\Model\Session\Quote class. Continue reading “Get Adminhtml quote session using Magento 2.”

Display Order Summary in Shipping Step of Checkout magento 2.

You can display Order Summary like Order total, subtotal, discount, and shipping charges on the first step (Shipping step) Of checkout page.

By Default, Order Summary in Shipping step is Disabled and it will be loaded through the abstract-total.js file of Checkout module. Continue reading “Display Order Summary in Shipping Step of Checkout magento 2.”