-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Marketplace settings, publications, subscriptions, and routing (#2577)
* New settings, publications, schemas for marketplace settings * providesShopSettings panels now collapsable and display icon * Add PrimaryShop and MerchantShops pubs/subs. remove Shops pub/sub & SellerShops global sub * Init marketplace flags. This enables user to checkout from the main shop with vendor shops products * Replace temp marketplace flags with actual marketplace settings * Use getPrimaryShopid in email config * Add new marketplace setting marketplaceNakedRoute * Remove default 2nd shop for marketplace * New settings for default packages enabled by shop type * client side getMarketplaceSettings method * set locale conditionally for marketplace * guard getShopPrefix on client * guard getLogo * conditionally get shop for brand * Only return marketplace settings if marketplace is enabled * Set package enabled status for new shops based on marketplace settings * Don’t create a second primary shop * Conditionally create the cart for the correct shop * Flag merchantLanguage and merchantLocale for removal * Flush currency for correct shop * Primary shop package sub * Cache client side marketplace settings * Use cached marketplace settings for brand and cart shopId lookups * rename/refactor getMarketplaceSettings on the client to match server method * Update the templates publication to ignore shopId unless merchantTemplates is enabled * Publish tags for both the active shop and the primary shop * Use the primary shop for routing ReactionLayouts unless merchantTemplates is enabled * publish the cart from the primaryShop unless merchantCarts is enabled * stub getPrimaryShopId * Stub getPrimaryShopId in another test * Deprecate and replace getCurrentShop and getCurrentShopCursor * Add getPrimaryShopId to /lib/api * Use primaryShop to determine if revision control is enabled * Add connectors and connectors-shopify to the default enabled packages for merchant shops
- Loading branch information
Showing
36 changed files
with
1,289 additions
and
3,820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.