Personalization
How to Add Products to Categories using Content Groups
by Frank Kim on Jul.31, 2009, under Commerce, Personalization
Typically after you create a category in your catalog you then add products to the category. The simple way to do that in ATG eCommerce is to use the ACC and add products to the child products property of the category. However there is another way.
In the ATG Commerce Guide to Setting Up a Store documentation you can see in the Viewing the Product Catalog section that a category can have child products but also child product groups.
Child product groups are actually content groups which are described in the Creating Content Groups chapter of the ATG Personalization Guide for Business Users.
Though the documentation shows a content group composed of features you can easily create a content group using the ProductCatalog as a content source and product as a content type.
To create a content group follow the steps in the ATG documentation for Creating New Content Groups except use an item from the ProductCatalog when specifying the Content Type. Then create the targeting rules for this Content Group. Now you can specify this group in the Child products (group) property of a category.
Slot not global warnings in ATG logs
by Frank Kim on Feb.19, 2008, under ACC, Personalization
In the ATG logs you may see warnings about a slot being session scoped not global.
[STDOUT] Invalid attempt to resolve component /atg/registry/Slots/ActivationFlowSlot in scope global. It is defined in scope session
Most of the time you can safely ignore these warnings because these warnings are most likely coming from the ACC.
When browsing slots using the ACC the ACC tries to look up the slot as a global component and complains it’s a session scoped component. In other words it’s an ACC bug that will probably never be fixed since ATG is moving away from the ACC.
Cannot Create New ATG Scenario
by Frank Kim on Nov.29, 2007, under Personalization
Though I have a distaste for scenarios on occasion there will be a time when I want to create a new scenario. On such an occasion I still start up the ACC, go to Scenarios > Scenarios and discover I can’t create a scenario because the New Scenario box is grayed out.
The issue is often because the process editor server is configured incorrectly. ATG documents how to configure the process editor server.
For example today I found I could not create a new scenario. After putting this scenarioManager.xml in localconfig/atg/scenario and then restarting ATG I was able to create new scenarios again.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<process-manager-configuration>
<process-editor-server>
<server-name xml-combine="replace">
CRAPBOOK-PRO:8850
</server-name>
</process-editor-server>
</process-manager-configuration>
Note that the server name must be the same as the one found at /atg/dynamo/service/ServerName.serverName. For more information about the atg.service.ServerName class, see Referring to Dynamo Servers in the Nucleus: Using Nucleus section of the ATG Programming Guide.

