You can remove all markers from an order using the RemoveAllMarkersFromItemDroplet.

<dsp:droplet
 name="/atg/markers/droplet/RemoveAllMarkersFromOrderDroplet">

  <dsp:param name="output">
     There were <dsp:param name="markerCount"/> markers on your
     order.
  </dsp:param>

</dsp:droplet>

Using these servlet beans to remove markers gives you more control over the items you remove than you do with a scenario action. You can find out the number of markers that are removed and display it to users. You can also use the order input parameter to specify an order containing markers you want removed, or rely on the default value, which causes markers from the active user order to be removed.

For more information, see Appendix A: Core Commerce Servlet Beans.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices