JustFlows

Shop / Catalog

Products

Commerce → Products → new. New products start from the Product detail layout. The content editor menu shows Images, Pricing, Inventory, Shipping, Attributes, Variations, Categories, and Tags as separate entries.

  • Shared across languages: SKU, prices, stock, and variations belong to the product's translation group, so every translation sells the same item. Title, excerpt, and page content are per language. Shop → Products lists the default language only; switch languages in the content editor.
  • Attributes (Commerce → Attributes): select, text, color, image, button, or number. A select attribute with several values generates variation combinations. Choosing an option on the product page updates the price, SKU, and stock.
  • Categories and tags (Commerce → Categories / Tags): categories can be nested. Both are assigned in the product editor.
  • Visibility: public and catalog-only products appear on /shop; hidden and search-only products do not. Published products are included in site search.
  • Shipping class: the product's Shipping section offers a dropdown of the method names set up under Shop → Shipping zones (a name used in several zones appears once, with its zones listed). A product that already has a class not in the list keeps it.

Bulk edit products

Select products on Commerce → Products and choose Bulk edit to change up to 500 at once. Fields left on No change stay as they are. Preview changes lists what will change for each product before anything is saved. Needs the Update products capability.

FieldOptions
Regular priceSet, or raise or lower by an amount or a percentage
Sale priceSet, a percentage or amount off the regular price, or remove. A sale price at or above the regular price is refused for that product without stopping the rest.
StockTrack inventory on or off; set, add, or subtract stock; backorders; one per order
Tax, shipping, and visibilityTax class, shipping class (No shipping class, or one of your shipping methods), and visibility
Categories and tagsAdd or remove

Prices and stock also apply to every variation of a variable product.

Import products

Commerce → Products → Import takes CSV, JSON, or XML and detects the format. Run the preview first: it lists what will be created, updated (matched by SKU), or rejected, and writes nothing. A sample file ships as samples/products-sample.json.

Import columns
text
title, slug, sku, price, stock, status, categories, tags, images, excerpt

Product tags in layouts

Put these tags in any text of a product layout. They are filled from the catalog on the public page: {{title}}, {{excerpt}}, {{sku}}, {{barcode}}, {{price}}, {{regular_price}}, {{sale_price}}, {{currency}}, {{stock}}, {{type}}, {{visibility}}, {{tax_class}}, {{weight}}, {{length}}, {{width}}, {{height}}, {{dimensions}}, {{attributes}}, and {{options}}. {{price}} follows the catalog tax display (see Tax).