How to empty all items in cart in Ubercart ?

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.


20 points

Hi.. I am using Ubercart and what is the ubercart funtion that would empty all items in the cart?

 



16 points

uc_cart_empty(uc_cart_get_id()); }

tadaFurrita's picture
Created by tadaFurrita

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.