This can be done through the data mapping process. If this function is implemented in the data map, the following will happen: if the "Display on 3rd Party" flag is checked in Revel it will go to Shopify, if it is unchecked in Revel it won’t try to push to Shopify. If you have opted for a complementary integration set-up, please notify your DSYNC Sales representative or On-Boarding Specialist of this request.
To create this function in the data map, you will need to edit the mapping between products for Revel and Shopify. In the mapping, you can find this function labeled as "display_online".
Note: This is a good general technique for filtering anything in the mapping. Additionally, in this process you will want to map it to something that is unused and not required for this mapping. So in this example we are mapping to the variant option_2.
So first, we chose to add the display_online field to the option_2 endpoint.
Now you can go back to the dashboard to find the endpoint data layout by clicking on the destination endpoint (in this case, product).
Scroll down to the endpoint to which you are mapping. In this example, it's option_2.
To edit it, click the pencil on the right-hand side. First you will need to open the Field Type dropdown menu and choose Boolean.
Next you can open the Boolean Representation dropdown menu and choose Custom.
Click OK and Save.
Now go back to the mapping, and click the fx next to the endpoint to which you are mapping.
In the Function dropdown menu, choose Is Boolean True and then click Add function. Click OK.
Now it will only allow updates with display_online (enable "Display on 3rd Party" in Revel) to go through DSYNC and update on the destination system.