Following on from my last post, this is about using Shopify Flow to record the purchase history of a specific product. If a purchase is canceled, I want to decrement the purchase history of the metafield that was counted up, so this is the flow for that purpose.
1
/
of
1
Published:2023.12.23
Example of setting up a metafield to store the purchase quantity of a specific product for each customer using Shopify Flow ② "If an order is canceled, restore the purchase quantity history"
Example of setting up a metafield to store the purchase quantity of a specific product for each customer using Shopify Flow ② "If an order is canceled, restore the purchase quantity history"
Applications
Applications
- Member information management and editing
How to implement
How to implement
- Shopify Flow
Share
After making a purchase (all items are ¥0), you will be able to view the sample code.
Couldn't load pickup availability
If you have already made a purchase, please login here.
Sample Codes
Test Theme :Dawn/Rise 15.2.0
Add a flow that counts down the metafield value according to the number of items purchased when an order is canceled.
