Hi @viktormorales,
Thanks for reaching out about Facebook for WooCommerce! I’ll be happy to help.
While customizations like this are technically beyond the scope of our support policy, I’ll be happy to see what I can recommend to try to point you in the right direction on this. 🙂 I am running this question by one of our developers to try to get some additional information on how the price is passed to Facebook and any hooks that you might be able to use to update the price beforehand – as soon as I’ve heard back, I will get back to you to let you know what I find out.
Thanks,
Jennifer
Hi @viktormorales,
Thanks for the question. There are two options for adjusting the price sent to Facebook with the plugin. The first, being the simplest, is to edit the Facebook price field which is available on the edit product page > Facebook tab: https://cloud.skyver.ge/qGuNw6A1
The second is to use one of the plugins available filters, namely: facebook_for_woocommerce_integration_prepare_product, which is given the $product_data and $id. This will then allow you to adjust the $product_data[‘price’] field.
As Jennifer mentioned, I’m afraid we don’t cover directly implementing custom code, though I hope this gives you something to work with!
Is there anything else I can help out with today?
Cheers,
Simon.
Hey @viktormorales,
It has been a long time since we heard from you, so I’m going to mark this topic as resolved. If you’re still experiencing issues please take a look at our documentation for more information and create a new thread if you have further questions.
Thanks,
Tamara 🙂