githubEdit

Products

Introduction

Products are Tailor Blueprint entries designed to show products based on the entry's settings. Product entry content is determined by the products.yamlarrow-up-right file.

The idea behind the shop is to show a semi-simple product library with most features. If you need more features, Install the OFFLINE.Mall pluginarrow-up-right.

There are two types of products Simple Products & Variable Products

Simple Products

Simple products are just that. They support the following content:

  • A Description Field

  • A Short Description Field

  • Price field

  • Quantity field with Stock support (Decrementing when purchased)

  • Product Categories

  • Product Images (The first one is used as the main one)

  • SEO & OG Tag information provided by the seo_fields.yamlarrow-up-right file

  • Header, Body, and Footer code areas provided by the code_fields.yamlarrow-up-right file

These products are designed to sell non-variable items, like a "one-of-a-kind" piece.

Variable Products

These products are more powerful. You can add Product Properties or specify Custom Attributes. All variant pricing defaults to the price under the the Manage tab. To summarize, These products have the following content and abilities:

Variant quantities are not supported.

Custom Properties

Custom properties allow more power for creating variant options for the product. They have the following options

  • Variant Property Title

  • Variant Property Type

    • Dropdown

    • Color

  • Dropdown Items (In a repeater. Depends on the Variant Property Type of Dropdown)

    • Title

    • Slug

    • Price

    • Enabled (Defaults to false)

  • Color Items (In a repeater. Depends on the Variant Property Type of Color)

    • Title

    • Color

    • Price

    • Enabled (Defaults to false)

Template Files

The pages and layouts below are used to display content throughout the site. Below is an explanation of what each file does and how things are rendered.

Pages

product.htm

This filearrow-up-right is used to display a single product entry type from the products.yamlarrow-up-right blueprint.

Blueprints

builder/products/*

These filesarrow-up-right are used to render the top level Section blocks in the Dynamic Page Builder.

Last updated