Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected $_quoteFactory;
- public function __construct(
- MagentoQuoteModelResourceModelQuoteCollectionFactory $quoteFactory
- ) {
- $this->_quoteFactory = $quoteFactory;
- }
- public function execute(Observer $observer)
- {
- $quote = $this->_quoteFactory->create()->addFieldToFilter('reserved_order_id', $orderId);
- $quote = $this->_quoteFactory->create()->addFieldToFilter('entity_id', 12);
- $quote = $this->_quoteFactory->create()->addFieldToFilter('base_subtotal_with_discount', 20.0000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement