Question

Line Item Discounts not matching in Salesforce


Userlevel 1

I am using “Run Javascript” to send line item info from Shopify into Salesforce. For the most part it works but my issue now is that it is putting the shopfiy line item discount on the wrong line in Salesforce. I am using the following field from Shopify to send the total line item discount over to Salesforce:

Line Items[] Discount Allocations[] Amount Set Shop Money Amount

I think part of the issue might be that Salesforce orders the lines different in Salesforce but I’ve never noticed so much of an issue with other product data. 

I need to make sure that the proper discount is being applied to the right line. I thought I was accomplishing that with the Run Javascript action. 

Is there anyone out there that can help with this?

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.