How to empty all items in cart in Ubercart ?

3 points

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

 

Created by gagHapseMah 45 weeks 4 days ago
  Tags:

Answer(s):

3 points

uc_cart_empty(uc_cart_get_id()); }

Created by tadaFurrita

Post your Answer

  • Lines and paragraphs break automatically.
  • 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 <% ... %>.
  • Links to specified hosts will have a rel="nofollow" added to them.

More information about formatting options