LogoLogo
  • Getting Started
    • Sign in to VendorFuel
  • Support & Contact
  • Admin
    • Catalog
      • Products
        • Add New Product
      • Categories
        • Add New Category
      • Collections
      • Price sheets
      • Manufacturers
        • Merge Manufacturers
      • Promo Codes
      • Banners
    • Customers
      • Groups
        • Add group
      • Accounts
        • Add New Account
    • Dashboard
    • Orders
      • Order tracking logs
    • Purchasing
    • Punchout
      • Add Punchout Supplier
        • Adding an ODP punchout supplier
      • Punchout configuration checklist
    • Reports
    • Users
  • Templates
    • Template shortcodes
  • Blocks
    • Account Menu block
    • Cart Menu block
    • Catalog Search block
    • Register block
    • Shopping Lists block
    • Welcome Page block
  • Settings
    • Settings
      • General
      • Store
      • Email
      • Payments
      • ClearSale
      • Taxes
      • Accounting
        • Setting up QuickBooks to connect with VendorFuel
        • Linking VendorFuel to QuickBooks
        • Setting QuickBooks parent customer
    • WordPress VendorFuel Settings
  • Releases
    • VendorFuel release change log
    • VendorFuel Blocks release change log
    • Downloads
Powered by GitBook
On this page

Was this helpful?

  1. Templates

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.

PreviousUsersNextAccount Menu block

Last updated 10 months ago

Was this helpful?