Skip to main content
Solved

Is it possible to sync related items to Shopify as a list type metafield

  • 25 January 2023
  • 3 replies
  • 88 views

Does anyone know if it is possible to sync related items under a product in Acumatica to a single, list-type metafield?

Example:

  1. Product A has Products B and C selected as Related items in Acumatica. 
  2. Product B and Product C are synced together to a single list metafield as “Product B, Product C” (or something along those lines).
  3. Later, Product C is removed as a related item in Acumatica and replaced by Product D.
  4. Now, Product B and Product D are synced together to the single list metafield.

3 replies

Userlevel 7
Badge +3

Hi @mikeho unfortunately the standard Shopify Connector does no sync related items. It is also not possible to convert an array of items to a single metafield using mapping.

So the only way I can suggest you is a relatively small customization to select related Items from Acumatica database, concatenate them and push to Shopify metafield. 

Userlevel 6
Badge +1

Thank you, @smarenich.

Hi @smarenich Can you point me how to do that? Which part of the guide?

Reply