shopp_cart_items()

get a list of the items in the cart

shopp_cart_items()

@return array list of items in the cart

Description

get a list of the items in the cart

Example

<?php
$Items = shopp_cart_items();
foreach ( $Items as $item ):
    // echo links for the items
    ?><a href="<?php shopp($item,'url'); ?>"><?php shopp($item,'name'); ?></a>
<?php endforeach; ?>

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar