Liquid Template Variables - vendor: Difference between revisions

From Spiffy Stores Knowledge Base
Jump to: navigation, search
Admin (talk | contribs)
mNo edit summary
Admin (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
The Liquid template variable '''vendor''' has the following attributes:
The Liquid template variable '''vendor''' has the following attributes:
== <code>vendor.id</code> ==
Returns the unique internal number for the vendor.
This is normally only for internal usage.


== <code>vendor.name</code> ==
== <code>vendor.name</code> ==

Latest revision as of 13:53, 3 July 2014

The Liquid template variable vendor has the following attributes:

vendor.id

Returns the unique internal number for the vendor.

This is normally only for internal usage.

vendor.name

Returns the name of the product vendor.

vendor.handle

This is the product vendor handle. The handle uniquely identifies the product vendor in the URL address.

The handle is usually the product vendor's name in lower case with all blanks replaced by a dash. "Nike shoes" would have the handle "nike-shoes".