anothercoder
anothercoder

Reputation: 1449

Add a template from a non-storefront cartridge to Demandware Content Slot Configuration?

I'm using the Demandware Business Manager to create a new content slot configuration for a pre-existing content slot following the Demandware DiD Instructor Guide (pg. 152). My issue is that I'm being told to add a content slot configuration to "merchant-product" using a template that is in the "training" cartridge. However, when I try to add a template, the pop up (from clicking [...]) only allows me to view templates that are within the storefront cartridge.

This template is in the "training" cartridge because the instructions indicated to put it in the "training" cartridge instead of the "storefront" cartridge. I have included the "training" cartridge in my site settings as per the instructions. Why does this cartridge not appear as an available cartridge to use templates from?

How do I add this (non-storefront) cartridge in so that I may use a template from it?

Upvotes: 1

Views: 1928

Answers (2)

moula
moula

Reputation: 1

To solve please copy slots folder under templates/default/ folder.

Upvotes: 0

Mark Moreto
Mark Moreto

Reputation: 77

Please follow the instruction below.

  • Go to your Sandbox - Business Manager.
  • On the left nav, navigate to Sites -> Manage Sites -> [Select your Site/Store Name e.g. SiteGenesis]
  • Click on it, then you will see some tabs some as General, Settings, Cache, and Security.
  • Go click Settings tab.
  • On the Cartridges text field, you will something like this:

sitegenesis_storefront_richUI:sitegenesis_storefront_core

  • Add your cartridge name having this separation of colon symbol.
  • Saves Changes and apply.
  • Make sure to clean your cache after doing this.

Try again to access your cartridge outside of storefront app and let me know.

Upvotes: 4

Related Questions