Creating additional fields in a Shopify product description.

This is a small little post on how you can start making your own custom descriptions within Shopify.

When you want to add additional fields to a product in Shopify, one method would be to use a variable and a ‘split’.

Firstly to do this you will need to use the ‘assign’ variable function, doing this will create a new variable with your given name as so:

‘{% assign description_part_two = product.description | split: ‘# Split #’ | last %}’

In the above example, we have created a variable, and this is equal to the products description, however, this has been placed after the ‘# Split #’ text, meaning that it will take the text after this exact string.