Hello,
Up to magento version 2.4.0 the below would attribute an order to the correct store and website in orders view->purchase point
\Magento\Quote\Model\Quote->setWebsite($websiteId)->setStoreId($storeId); \Magento\Quote\Model\QuoteManagement->placeOrder($this->quote->getId());
Higher versions always attribute the orders to default site and store
Should I change something in higher versions?
Many thanks
@choiceadvantage wrote:Hello,
Up to magento version 2.4.0 the below would attribute an order to the correct store and website in orders view->purchase point
\Magento\Quote\Model\Quote->setWebsite($websiteId)->setStoreId($storeId); \Magento\Quote\Model\QuoteManagement->placeOrder($this->quote->getId());Higher versions always attribute the orders to default site and store
Should I change something in higher versions?
Many thanks
You need a specific product or service to run your small business, so you reach out to your suppliers and tell them what you need. They provide it. You pay them for it. End of story.
Purchase Orders are documents issued from a Buyer (your organization) to a Seller (the vendor). They are an important tool for Buyers because they formalize requirements and pricing, and serve as legally binding documentation of the goods/services that were ordered.