Code for Available Shipping methods droplet
<dsp:droplet name="AvailableShippingMethods">
<dsp:param bean="CartModifierFormHandler.shippingGroup" name="shippingGroup"/>
<dsp:oparam name="output">
<dsp:select bean=" CartModifierFormHandler.shippingGroup.shippingMethod">
<dsp:droplet name="ForEach">
<dsp:param name="array" param="availableShippingMethods"/>
<dsp:param name="elementName" value="method"/>
<dsp:oparam name="output">
<dsp:getvalueof id="option175" param="method" idtype="java.lang.String">
<dsp:option value="<%=option175%>"/>
</dsp:getvalueof>
<dsp:valueof param="method"/>
</dsp:oparam>
</dsp:droplet>
</dsp:select>
</dsp:oparam>
</dsp:droplet>
Code for Inventory Look Up Droplet
<dsp:droplet
name="/atg/commerce/inventory/InventoryLookup">
<dsp:param name="itemId" param="sku.repositoryId"/>
<dsp:par-am name="useCache" value="true"/>
<dsp:oparam name="output">
<dsp:valueof
param="inventoryInfo.availabilityStatusMsg"/>
<br><dsp:valueof
param="inventoryInfo.availabilityDate"/>
</dsp:oparam>
</dsp:droplet>
Inventory Manager Methods
1. queryAvailabilityStatus
2. queryAvailabilityDate
3. inventoryWasUpdated
<dsp:droplet name="AvailableShippingMethods">
<dsp:param bean="CartModifierFormHandler.shippingGroup" name="shippingGroup"/>
<dsp:oparam name="output">
<dsp:select bean=" CartModifierFormHandler.shippingGroup.shippingMethod">
<dsp:droplet name="ForEach">
<dsp:param name="array" param="availableShippingMethods"/>
<dsp:param name="elementName" value="method"/>
<dsp:oparam name="output">
<dsp:getvalueof id="option175" param="method" idtype="java.lang.String">
<dsp:option value="<%=option175%>"/>
</dsp:getvalueof>
<dsp:valueof param="method"/>
</dsp:oparam>
</dsp:droplet>
</dsp:select>
</dsp:oparam>
</dsp:droplet>
Code for Inventory Look Up Droplet
<dsp:droplet
name="/atg/commerce/inventory/InventoryLookup">
<dsp:param name="itemId" param="sku.repositoryId"/>
<dsp:par-am name="useCache" value="true"/>
<dsp:oparam name="output">
<dsp:valueof
param="inventoryInfo.availabilityStatusMsg"/>
<br><dsp:valueof
param="inventoryInfo.availabilityDate"/>
</dsp:oparam>
</dsp:droplet>
Inventory Manager Methods
1. queryAvailabilityStatus
2. queryAvailabilityDate
3. inventoryWasUpdated
No comments:
Post a Comment