Options
- priceline – if set to true, will return specific price line id instead of product id (Default: false)
Examples
Displays the product ID for the cart item
<?php shopp('cartitem.product'); ?>
Get the product ID for the cart item
<?php $productid = shopp('cartitem.get-product'); ?>
Get the product priceline ID for the cart item
<?php $priceid = shopp('cartitem.get-product','priceline=true'); ?>
You must be logged in to post a comment.