on 04-14-2009 3:51 AM
Hi Experts,
What's the best way to limit delivery types dropdown list when ordering in the b2b webshop (webshop only not others). Is there a BAdI / method I can use for this purpose? Or I have to hardcode in order.jsp? Any advise / suggestions?
Thanks, Jin
hi,
There is no BADI for this as far i know, but you can restrict this via coding in the same jsp as you mentioned, normallydelivery type will be mapped to the shipping conditions of the BP master data,
regards
chandu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make the changes to the jsp "shippingCondition.inc"
At the top of the code put this line
String displayOption[] = {"Standard", "Pick up", "Collect", "Best Way", "3rd Party Collect"};
and than under the iterate put this code :
<%
for(int i = 0; i < displayOption.length; i++)
{
if(shipCond.getString(1).equalsIgnoreCase(displayOption<i>))
{
%>
<option <%= ui.getShipCondSelected(shipCond.getRowKey().toString()) %> value="<%= shipCond.getRowKey() %>">
<%= JspUtil.encodeHtml(shipCond.getString(1)) %>
</option>
<%
}
}
%>
Edited by: Arshi Arshi on May 26, 2009 8:29 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.