Categories
CMS Magento Mastering Development

Magento 2 split order based on product attribute

I’m developing Multivendor masrketplace mdoule. I need to split orders based on seller id’s which assigned to product. I tried using this free module. Link But this is not working with attributes. So I tried to split with sku. Where I modified the code like below. <?php namespace Magestat\SplitOrder\Plugin; use Magento\Quote\Model\QuoteManagement; use Magento\Framework\Exception\LocalizedException; use Magento\Quote\Api\CartRepositoryInterface; […]

Categories
CMS Magento Mastering Development

Magento 2 split order based on product attribute

I’m developing Multivendor masrketplace mdoule. I need to split orders based on seller id’s which assigned to product. I tried using this free module. Link But this is not working with attributes. So I tried to split with sku. Where I modified the code like below. <?php namespace Magestat\SplitOrder\Plugin; use Magento\Quote\Model\QuoteManagement; use Magento\Framework\Exception\LocalizedException; use Magento\Quote\Api\CartRepositoryInterface; […]

Categories
CMS Magento Mastering Development

Magento 2 split order based on product attribute

I’m developing Multivendor masrketplace mdoule. I need to split orders based on seller id’s which assigned to product. I tried using this free module. Link But this is not working with attributes. So I tried to split with sku. Where I modified the code like below. <?php namespace Magestat\SplitOrder\Plugin; use Magento\Quote\Model\QuoteManagement; use Magento\Framework\Exception\LocalizedException; use Magento\Quote\Api\CartRepositoryInterface; […]

Categories
Mastering Development System & Network

Django DateFilter – input_format change

I need to change input format just for one field. I need to accept 31/03/2020 instead of 3/31/2020. If I enter 3/31/2020 then it’s works, but when try 31/03/2020 then appears Enter a valid date. This can be done global by DATETIME_INPUT_FORMATS but I’m looking for the way where input_format will apply only to one […]