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
| Parameter | Description | Default | Required |
|---|---|---|---|
| id | The product's Id. | - | Yes |
| field | The field name whose value should be retrieved. | - | Yes |
| imgwidth | Width for image fields (LargeImage, SmallImage). | - | No |
| imgheight | Height for image fields (LargeImage, SmallImage). | - | No |
| imgborder | Border 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]