Advanced Settings Transition: From Mapper 1.0 to 2.0

In Mapper 1.0, we configured specific fields with advanced settings that allowed us to use those fields only during record creation. However, Mapper 2.0 does not include this advanced settings option. I have attempted to implement conditional mapping for these specific fields, but I am still encountering issues with meta field mappings.

For example:

Title:- {{#if product_id}}{{else}}{{[Display Name]}}{{/if}}
Tags:- {{#if product_id}}{{else}}{{[Shopify Product Tags]}}{{/if}}

I need to set up similar conditional mappings for the Variant metafields to ensure that these fields are only utilised during record creation. Could you please provide guidance or suggestions on how to achieve this?

Mapper 2.0 supports handlebars, but the context is different so that more data is available to be used for it. In your example, you would just need to add record to the field references.

Title:- {{#if record.product_id}}{{else}}{{record.[Display Name]}}{{/if}}
Tags:- {{#if record.product_id}}{{else}}{{record.[Shopify Product Tags]}}{{/if}}


1 Like