Skip to main content

i4w_product

Usage

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

[ELSE_product] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

Parameters

ParameterDescriptionDefaultRequired
idThe product's Id.-Yes
fieldThe field name whose value should be retrieved.-Yes
imgwidthWidth for image fields (LargeImage, SmallImage).-No
imgheightHeight for image fields (LargeImage, SmallImage).-No
imgborderBorder for image fields (LargeImage, SmallImage).-No

Example

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

Notes

info

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]