Posts in: October, 2017

Magento 2 admin recreate cart

Magento 2 admin recreate cart

To restore quote or magento 2 admin recreate cart pro-grammatically we need to use admin session model, frontend magento checkout model will not be useful here. The sample code was given below,

Model

namespace Yournamespace\Yourmodulename\Model\Adminhtml\Order;

class RecreateOrder
{
    public function __construct(
    										
					

Read More

Magento 2 get currency symbol

Magento 2 get currency symbol by code

Magento 2 get currency symbol using code can be we do from Magento currency Interface. In default, magento will give all currency from configuring admin. To set the configuration see here.In frontend all the allowed currencies are displayed. So we can get the current currency code directly from

Read More