0.1.0 • Published 3 years ago
storefront-data v0.1.0
Storefront Reference Architecture Data
This is a repository for the RefArch site data that goes with Storefront Reference Architecture (SFRA).
NPM scripts
Zip data
npm run zipData
- Zips up the data before it can be imported into the Business Manager.
Product Types :
- Simple Product with no variant
- Simple Product with single variant
- Simple Product with multiple variants
- Product Set
- Product Bundles
- Variation Group
- Product Options (electronics)
Price Types :
- List Price
- Sale Price
- Promotion Price
- Price range
- Tiered Price. (this is not working due to platform limitation)
- option price.
Install/Import
To use this data with in a sandbox
- The directory 'demo_data_sfra' needs to compressed into a zip file of the same name. e.g 'demo_data_sfra.zip'.
The zip file needs to be uploaded to the instance's Business Manager. In the Business Manager, go to Administration > Site Development > Site Import & Export. Then upload the zip file from step#1.
Import the zip file from within the Business Manager.
(optional steps) a. Check the cartridge path for the sites. b. Run the search index.
Content Assets
Here is a list of the content assets used from the shared content library.
ID | Name | Usage | description |
---|---|---|---|
home-categories | Home Categories | Homepage | Images that link to category pages, this is used by the content slot 'home-categories'. |
home-main | Home Main | Homepage | Main image displayed on the homepage, used by the content slot 'home-main'. |
home-product-set-content | Home Product Set Content | Homepage | Content links to a product set and is assigned to the 'home-product-set' slot. |
Slots
ID | Rendering Template | Usage | description |
---|---|---|---|
home-categories | slots/content/contentAssetBody.isml | Homepage | This slot renders images that link to other category pages it uses the content asset 'home-categories'. |
home-main | slots/content/contentAssetBody.isml | Homepage | Main image displayed on the homepage, used by the content asset 'home-main'. |
home-product-set-content | slots/content/contentAssetBody.isml | Homepage | This slot desiplays an image that links to a product set |
Promotions
ID | Qualifying Products | Coupon | Campaign |
---|---|---|---|
ref-arch-order-coupon-promotion-1 | 883360541815 | orderLevel | Ref Arch Coupon Test |
ref-arch-shipping-coupon-promotion-1 | 740357377119 | shipping | Ref Arch Coupon Test |
ref-arch-product-coupon-promotion-1 | 682875719029 | product | Ref Arch Coupon Test |
ref-arch-order-no-coupon-promotion-1 | 883360543307 | Ref Arch No Coupon Test | |
ref-arch-shipping-no-coupon-promotion-1 | 740357447164 | Ref Arch No Coupon Test | |
ref-arch-order-approaching-discount-promotion-1 | 799927767720 | Ref Arch No Coupon Test | |
ref-arch-shipping-approaching-discount-promotion-1 | 799927767720 | Ref Arch No Coupon Test |
0.1.0
3 years ago