• Resolved junaidfloop

    (@junaidfloop)


    I have an order item meta data for an order, which is passing to Salesforce CRM. I need to change the value of item meta data before passing to the CRM. Is there any filter or hook available just before passing the order item meta data to CRM ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author CRM Perks

    (@crmperks)

    we have added this filter “woo_salesforce_crmperks_post_data” , it will be available in next release

    Thread Starter junaidfloop

    (@junaidfloop)

    Can you please point out, in which file and where you are going to add this filter on your plugin ?
    Is this filter is just before passing to the Salesforce CRM ?

    Plugin Author CRM Perks

    (@crmperks)

    we added this filter apply_filters(‘woo_salesforce_crmperks_post_data’,$data,$feed[‘id’]);
    it is available in version 1.4.8

    Thread Starter junaidfloop

    (@junaidfloop)

    Hope the arguments passed to filter woo_salesforce_crmperks_post_data $data,$feed[‘id’] are order item meta value and its key recpectively. is it correct ?
    So we can code by checking the key of the order item meta value.

    Plugin Author CRM Perks

    (@crmperks)

    $data is salesforce fields before posting to salesforce
    you can modify it or add other salesfroce fields

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to edit the order item meta value passed to Salesforce crm’ is closed to new replies.