Skip to content

Commit

Permalink
Merge pull request scandipwa#29 from neeeeecka/4277-cart-token-update-be
Browse files Browse the repository at this point in the history
#4277 Return `website_code` in Page.php for using in FE
  • Loading branch information
carinadues authored Jul 6, 2022
2 parents ffa5044 + 7eec06a commit 537ad70
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/View/Result/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,16 @@ public function getStoreListJson()
/**
* @return array[]
*/
public function getAppIconData() {
public function getAppIconData()
{
return $this->appIcon->getIconLinks();
}

/**
* @return string
*/
public function getWebsiteCode()
{
return $this->storeManager->getWebsite()->getCode();
}
}

0 comments on commit 537ad70

Please sign in to comment.