- CrystalCommerce Liquid Documentation for Designers

Category Drop

This drop is included on this page in with the variable name {{ drop_name }}.

Properties

name
Name of the category.
description
Description of the category. Rendered as liquid with the same context as the calling page.
buylist_mode?
Returns true if the category is being viewed in buylist mode. Returns false otherwise.
fullname
Returns the breadcrumb trail of the category in the heirarchy with arrows inbetween. Example: “Magic Singles » Core Sets » 4th Edition (Alternate)”
self_and_ancestors
Returns the category drops for the heirarchy of categories, including the current. Used for breadcrumb links on category browse.
photo
Returns false if there is no photo associated with this category. Otherwise returns a Photo Drop for the category photo.
has_variants
Returns true if the category has variants. False otherwise.
url
Returns an absolute path to the category. Will be buylist URL if in buylist mode. Example: “/catalog/magic_singles-core_sets-4th_edition_alternate/546”
buylist_url
Returns an absolute path to the category in buylist mode. Example: “/buylist/magic_singles-core_sets-4th_edition_alternate/546”
catalog_url
Returns an absolute path to the category in catalog mode. Example: “/catalog/magic_singles-core_sets-4th_edition_alternate/546” hive_category_id
Returns the category ID used in hive for this category if available. This is a mostly reliable way of identifying a category across clients. Example: 965