• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

How to fetch Shopify compare_at_price

sunstorm

Member
Your Task History ID
IjU3NjYwNTZlMDYzNTA0MzQ1MjZmNTUzNDUxMzIi_pc
Hi Team

I have figured out how to fetch Trigger the workflow when a new order is fulfilled in Shopify.

However, one of the parameters I need is 'compare_at_price' available for each of the product variants in Shopify. I am not finding a way to fetch the same - tried fetching the same through 'Get Product Variant by Product ID' as well as "Get Product by Product ID' but couldn't find it in either.
 

Preeti Paryani

Well-known member
Staff member
Hello @sunstorm,

You can try using either of the following actions: "Get Product Variant by Product ID" or "Find Product by ID". Our team has made some updates, and these actions should now provide the required details.

Please give them a try and let us know if they work for you.
 

sunstorm

Member
Thanks, this should be helpful. Two more questions. Does Pabbly also have a way to
- Only fetch a particular variant (instead of all variants of a product)?
- Fetch Cost per item too as mentioned in the snap below?

1738326648552.png
 

ArshilAhmad

Moderator
Staff member

We have added an Iterator and a Filter step to this workflow. The Iterator will process all the variants of the product one by one and pass them to the Filter step. The filter condition will ensure that the next steps of the workflow are executed only if the Price is 850 and the Compare-at price is 1000.
1738349868871.png


Unfortunately, we weren't able to fetch the 'Cost per item' from any of the action steps, so it doesn't appear to be possible to retrieve this data.
 
Top