Difference between revisions of "Liquid Template Variables - handle"

From Spiffy Stores Knowledge Base

m
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
<pre>http://www.myshop.com/products/my-brand-new-product</pre>
 
<pre>http://www.myshop.com/products/my-brand-new-product</pre>
  
In you Spiffy Toolbox, you can view the handle of all of your products, pages, and collections by clicking the grey "handle" link that appears when you're editing the title of the page.
+
In your Spiffy Toolbox, you can view the handle of all of your products, pages and collections by clicking the grey "handle" link that appears when you're editing the title of the page.
 +
 
 +
== Further Reference ==
 +
 
 +
* [[Liquid Basics]]
 +
* [[Liquid Tag Reference]]
 +
* [[Liquid Filter Reference]]
 +
* [[Liquid Variable Reference]]
 +
* [[Liquid Paginate Tag|Pagination ]]

Latest revision as of 13:17, 25 June 2018

The handle of an object is used to refer to the object in the web site URL or address.

By default, the handle is the object's title with all spaces being replaced by dashes.

For example, "My Brand New Product" would have a handle of my-brand-new-product and this would appear in the URL as

http://www.myshop.com/products/my-brand-new-product

In your Spiffy Toolbox, you can view the handle of all of your products, pages and collections by clicking the grey "handle" link that appears when you're editing the title of the page.

Further Reference