Template shortcodes

Front end template shortcodes

The VendorFuel plugin uses the following shortcode:

[vf-template name="shortcode-name"]

Each of the following template shortcode names correspond to a WordPress page.

Title
Shortcode name
Parameters

Account

account

Addresses

addresses

Cart

cart

Catalog

catalog

cat_id (number) (Optional) Using a cat_id will return only products within that category.

Checkout

checkout

po_prefix (string) (Optional) Prefixes the purchase order.

Favorites

favorites

Forgot Password

forgot-password

Group Account

group-account

Group Orders

group-orders

Login

login

Order by SKU

order-by-sku

Orders

orders

Product Detail

product-detail

product_id (number) (Required)

Punchout Return

punchout-return

Register

register

customer_role (number) (Optional)

Reset Password

reset-password

Saved Cart

saved-cart

Saved Carts

saved-carts

View Order

view-order

Wherever a shortcode name is used (usually on the corresponding WordPress page), the matching template content is imported from includes/templates. For example, using [vf-template name="login"]will result in the content from includes/templates/login.html to be imported.

Last updated