e-Marketing Spots Using
Accelerator
Click Marketing > e-Marketing Spots in Accelerator
Click New. The New e-Marketing Spot wizard opens, enabling you to
define your e-Marketing Spot.
Complete
the e-Marketing Spot Definition page as appropriate.
Click Finish to save the e-Marketing Spot.
If you already have a Web activity click Add
Select the check box to the left of the Web activity that you want
to schedule for this e-Marketing spot. Click Add to return to the
e-Marketing Spot Properties page. The selected Web activity now
displays in the Scheduled Web Activities list.
Specify a Start Date and End Date for the Web activity.
Click OK to save the schedule assignment.
Add the e-Marketing Spot to the JSP file by dynamically including
the spot using the JSTL
<c:import>
tag structure with any associated parameters. Your code should look
similar to the following:
<c:import url="../../include/eMarketingSpotDisplay.jsp">
<c:param name="emsName" value="StoreHomePage" />
<c:param name="maxNumDisp" value="8" />
<c:param name="catalogId" value="${WCParam.catalogId}" />
<c:param name="maxItemsInRow" value="4" />
<c:param name="maxColInRow" value="3" />
</c:import>
Working with e-Marketing
Spots(Management Center)
From the toolbar, click the arrow on the right side of
Create
New; then select e-Marketing Spot. The New e-Marketing Spot page
displays.
- Enter
the e-Marketing Spot properties:
- Click Save.
- Use the WebServiceeMarketingSpotDisplay.jsp sample snippet to
display an e-Marketing Spot in a store page. The code uses Web
services to call the marketing runtime to get the data to display in
the e-Marketing Spot. Use this snippet for e-Marketing Spots that
are used in Web activities managed with the Management Center.
- The
WebServiceeMarketingSpotDisplay.jsp file is available under the
following directory:
WC_installdir\samples\Snippets\web\Marketing\Campaigns
- WCDE_installdir\samples\Snippets\web\Marketing\Campaigns
Add the e-Marketing Spot to the JSP file by dynamically including
the e-Marketing Spot using the JSTL
<c:import>
tag structure with any associated parameters. Your code should look
similar to the following example:
<c:import url="${jspStoreDir}include/WebServiceeMarketingSpotDisplay.jsp">
<c:param name="emsName" value="ShoppingCartPage" />
<c:param name="catalogId" value="${WCParam.catalogId}" />
</c:import>
Content spots
Open
the WebSphere Commerce Accelerator
Click Store > Content Spots. The Content Spot list displays,
containing the content spots currently defined for the selected
store.
Click New. The New content spot wizard opens, enabling you to define
your content spot.
Complete the Content spot Definition page as appropriate.
-
Click Finish to save the content spot. The content spot is displayed
in the content spots list.
- In the description box just add comments with parameter like
{SampleParam} is came from the Jsp page using params.
-
If you already have content click Add. This opens the Content
selection list.
- Select
the check box to the left of the content that you want to schedule
for this content spot. Click Add to return to the Content Spot
Properties page. The selected content now displays in the Scheduled
Content list.
-
Specify a Start Date and End Date, and select the
order value for the content. The order value helps determine which
content to display when multiple contents are scheduled to display
in the same content spot. The content which has an order value of 1
is the highest priority content, and will display before other
content that the customer is qualified to view. The content can be
moved in the Order list using the Move up and Move down buttons.
-
Click OK to save the schedule assignment.
Select the page and place to place this content spot and add the
content spot to the JSP file by dynamically including the spot using
the JSTL
<c:import> tag structure
with any associated parameters. Your code should look similar to the
following:
<c:import url="${jspStoreDir}/Snippets/Marketing/Content/ContentSpotDisplay.jsp">
<c:param name="spotName" value="HelpSpot_part1" />
<c:param name="substitutionValues" value="{storeName},${storeName}" />
<c:param name="substitutionValues" value="{SampleParam},SampleParam" />
</c:import>
No comments:
Post a Comment
Don't hesitate to ask query