Mage::getModel('core/store')->load($o->getStoreId())->getWebsiteId(). The above code should get the website id of the store that your order ...
Try this for getting website id from an order in observer file $websiteid=$order-> getStore()->getWebsiteId();.
$web_site_name = $_order->getStore()->getWebsite()->getName(); // Website name of order. May 17, 2018. Did you like this post? 0. 0. Categories.
4 Answers. 4. order by. active, oldest, votes. Up vote 22 ...
How to Get Customer Orders List By GraphQL Query Magento 2? How to Get Customer GraphQL Query Magento 2? How to get Invoice ...
I want to get the website id using a Sales/Order object in Magento. I tried the code below. But it is not working. $order ...
How to Convert Order to Invoice Programmatically in Magento 2? How to use send Email To Friend GraphQL mutation Magento 2? How to use ...
This article discusses how to change the increment ID for a Magento database ( DB) entity (order, invoice, credit memo, etc.) on a particular ...
Get Website id from the given code of the site PHP eCommerce Web
Magento Get Website From Order : Useful Links. Related searches. magento get website code from order · magento get website id from order · magento 2 get ...