Dancer-Plugin-Interchange6

 view release on metacpan or  search on metacpan

lib/Dancer/Plugin/Interchange6/Cart.pm  view on Meta::CPAN

                    name          => $cart_product->product->name,
                    quantity      => $cart_product->quantity,
                    price         => $cart_product->product->price,
                    uri           => $cart_product->product->uri,
                    weight        => $cart_product->product->weight,
                  );
              }
        }
    }

    # delete the old carts (cascade deletes related cart products)
    $old_carts->delete;
}

=head2 remove

Remove single product from the cart. Takes SKU of product to identify
the product.

=cut



( run in 0.940 second using v1.01-cache-2.11-cpan-49f99fa48dc )