Class Name |
|
---|---|
Component(s) |
|
The IsHardGoods
servlet bean takes an order and determines if it contains any items that will be shipped via a hardgood shipping group.
Input Parameters
order (Required)
The order object that is inspected for a HardgoodShippingGroup
with commerce items.
Output Parameters
None.
Open Parameters
true
The open parameter rendered if the order contains items in a HardGoodShippingGroup
.
false
The open parameter rendered if the order doesn’t contain items in a HardGoodShippingGroup
.
Example
The following example illustrates the JSP code for the IsHardGoods
servlet bean:
<dsp:droplet name="/atg/commerce/order/IsHardsGoods"> <dsp:param param="someorder" name="order"/> <dsp:oparam name="true"> Order contains items in a Hardgood shipping group </dsp:oparam> <dsp:oparam name="false"> No items in a Hardgood shipping group </dsp:oparam> </dsp:droplet>