Exchange/it exchange add product to shopping cart
From IThemes Codex
Revision as of 08:52, June 13, 2013 by Gaarai
Adds a product to the shopping cart based on the product_id
<?php it_exchange_add_product_to_shopping_cart( $product_id, $quantity=1 ); ?>
- string $product_id a valid wp post id with an iThemes Exchange product post_typp
- int $quantity (optional) how many?