Dancer-Plugin-Interchange6

 view release on metacpan or  search on metacpan

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

366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
                    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.417 second using v1.01-cache-2.11-cpan-87723dcf8b7 )