0.1.0 • Published 3 years ago

storefront-data v0.1.0

Weekly downloads
11
License
-
Repository
-
Last release
3 years ago

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 :

  1. Simple Product with no variant
  2. Simple Product with single variant
  3. Simple Product with multiple variants
  4. Product Set
  5. Product Bundles
  6. Variation Group
  7. Product Options (electronics)

Price Types :

  1. List Price
  2. Sale Price
  3. Promotion Price
  4. Price range
  5. Tiered Price. (this is not working due to platform limitation)
  6. option price.

Install/Import

To use this data with in a sandbox

  1. The directory 'demo_data_sfra' needs to compressed into a zip file of the same name. e.g 'demo_data_sfra.zip'.
  1. 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.

  2. Import the zip file from within the Business Manager.

  3. (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.

IDNameUsagedescription
home-categoriesHome CategoriesHomepageImages that link to category pages, this is used by the content slot 'home-categories'.
home-mainHome MainHomepageMain image displayed on the homepage, used by the content slot 'home-main'.
home-product-set-contentHome Product Set ContentHomepageContent links to a product set and is assigned to the 'home-product-set' slot.

Slots

IDRendering TemplateUsagedescription
home-categoriesslots/content/contentAssetBody.ismlHomepageThis slot renders images that link to other category pages it uses the content asset 'home-categories'.
home-mainslots/content/contentAssetBody.ismlHomepageMain image displayed on the homepage, used by the content asset 'home-main'.
home-product-set-contentslots/content/contentAssetBody.ismlHomepageThis slot desiplays an image that links to a product set

Promotions

IDQualifying ProductsCouponCampaign
ref-arch-order-coupon-promotion-1883360541815orderLevelRef Arch Coupon Test
ref-arch-shipping-coupon-promotion-1740357377119shippingRef Arch Coupon Test
ref-arch-product-coupon-promotion-1682875719029productRef Arch Coupon Test
ref-arch-order-no-coupon-promotion-1883360543307Ref Arch No Coupon Test
ref-arch-shipping-no-coupon-promotion-1740357447164Ref Arch No Coupon Test
ref-arch-order-approaching-discount-promotion-1799927767720Ref Arch No Coupon Test
ref-arch-shipping-approaching-discount-promotion-1799927767720Ref Arch No Coupon Test