Consultor Eletrônico



Kbase P139648: Why do my EasyAsk promotions not appear in Commerce Studio My Site tab?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/01/2009
Status: Verified

SYMPTOM(s):

Why do my EasyAsk promotions not appear in Commerce Studio My Site and Sample Site tabs?

I have created my own custom Promotion type (named Related) but Related Products don't display in My Site and Sample Site

Cross-Sells display in My Site but Related promotions do not

FACT(s) (Environment):

EasyAsk 10.1

CAUSE:

The sample My Site and Sample Site tabs in Commerce Studio were created to display all the standard promotions that are delivered with EasyAsk
but not promotions defined by a particular customer.

FIX:

Modify the sample jsp's that are installed with EasyAsk to include any customer defined promotions.
See the Commerce Studio User's Guide for more information on this topic.

1. Save the entire folder <easyask-install folder>/server/EasyAsk/EStoreDemo
2. Make the following change in <easyask-install folder>/server/EasyAsk/EStoreDemo/eStoreProdDetail.jsp
original line:<%String[] XSellValues = {"Promotions","Cross-Sell","Up-Sell","Down-Sell","Add-On","Common Item","Substitution","Complementary","Non-Complementary"};

new line for new promotion type Related: <%String[] XSellValues = {"Promotions","Cross-Sell","Up-Sell","Down-Sell","Add-On","Common Item","Substitution","Complementary","Non-Complementary","Related"};

3. delete the <easyask-install folder>/server/tmp/EStoreDemo/eStoreProdDetail_jsp.java and <easyask-install folder>/server/tmp/EStoreDemo/eStoreProdDetail_jsp.class
4. stop and restart the server. When you navigate to the My Site product detail page, the jsp will be recompiled and Related products will appear along with Cross-Sell's and other promotions.