• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

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