Stockeo Help
  • What is Stockeo?
  • Update inventory from a Google Sheet
  • Update inventory from an XML feed
  • Create products from a JSON feed
  • Data Mapping
    • Format
      • CSV
      • JSON
      • XML
    • SKU
    • Price calculation
    • Quantity settings
    • Quantity format
    • Image URL settings
    • Variants
    • Metafields
    • Title
    • Description
    • Translations
    • Continue selling when out of stock
    • Charge tax
  • Filters
  • TROUBLESHOOTING
    • Invalid Closing Quote
    • Invalid Record Length
Powered by GitBook
On this page
  1. Data Mapping

Title

PreviousMetafieldsNextDescription

Last updated 8 months ago

To create a product in Shopify the requirement is to give it a title. However, it may happen there is no product name in the feed. Stockeo allows you to create a product title by combining several values from the feed using the Liquid formula.

Assume you want to create a title from some properties from the following JSON:

{
    "Stock_No": "210211",
    "Availability": "G",
    "Shape": "OVAL",
    "Weight": "1.7",
    "Color": "G",
    "Diamond_Type": "Natural Diamond",
    "Clarity": "SI2",
    "Cut_Grade": "VG",
    "Polish": "EX",
    "Symmetry": "VG",
    "Measurements": "9.36 X 6.80 X 4.10",
    "Rap_Price": "7300",
}

To do this type a Liquid formula in the Title field of your automation. For example, the one below:

{{ Weight }} {{ Shape | downcase }} {{ "cut" }} {{ Color }} {{ Diamond_Type }}

Will give the following result:

The example above illustrates the creation of automatic product titles in Shopify using JSON as an example. Similarly, this works when the feed is a CSV or XML file. In that case, use the column/node name instead of the field name between the curly brackets in the Liquid formula.

Translations

You can import product titles in different languages. Click on the gear icon to specify the desired language.

The title field of the Data Mapping section with the Liquid formula
Shopify product title created with Stockeo
The title field of Stockeo Data Mapping section with the Liquid formula
Shopify product title created with Stockeo automatically