i4w_product

Usage:

This shortcode is designed to give you direct access to products in your Infusionsoft shopping cart.

This shortcode does NOT supports conditional branching with [ELSE_product].

Shortcode nesting is NOT supported.

Parameters:

id he product’s Id
Default: none.
Required: yes.
field The field name whose value should be retrieved.
Default: none.
Required: yes.

Example:

[i4w_product id='2' field='ProductPrice']

[i4w_product id='2' field='LargeImage' imgwidth='150' imgheight='150' imgborder='0']

[i4w_product id='2' field='SmallImage' imgwidth='150' imgheight='150' imgborder='0']

Notes:

Replaces the [i4w_db_prod_nn_FieldName] shortcodes, which will eventually be deprecated.

This shortcode can also be used in the shorter form: [i4w_prod]

API:

To use this shortcode in your own PHP code, please use as follows:

'ShortDescription' ) );
$my_price      = i4w_product( array( 'id'='2', 'field'=>'ProductPrice' ) );
?>