Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I set up a Flow earlier today that will check if a product variant has a compare-at price that exists and then have it update the metafield of that product but I am now trying to create a flow with a bit more detail. I am curious if anyone knows a work around or code to add to the section of "Check if..." so that the base price reads more 40% off of the compare-at price? Would this be the send http request option?
Math needs to be handled in liquid currently. Depending on your scenario, you could do that in the Update product metafield action. Something like {{ product.variant.price | times: 0.4 }}
Note that Flow just released a Run code action, which makes it much easier to do math in Flow in and use the results in subsequent steps.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025