Title: Automatica variable price
Last modified: March 15, 2022

---

# Automatica variable price

 *  Resolved [guiest](https://wordpress.org/support/users/guiest/)
 * (@guiest)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/automatica-variable-price/)
 * Hello, I would like to fill the field “variable_f_product_price1” automatically
   with the Product Value -15%, is there the possibility of this customization?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Sandip Mondal – a11n](https://wordpress.org/support/users/sandipmondal/)
 * (@sandipmondal)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/automatica-variable-price/#post-15463047)
 * Hi, there [@guiest](https://wordpress.org/support/users/guiest/),
 * > I would like to fill the field “variable_f_product_price1” automatically with
   > the Product Value -15%, is there the possibility of this customization?
 * There isn’t a hook or custom code that will let you fill the field `variable_f_product_price1`
   automatically with the product price of `-15%`.
 * If you trying to display a different price for products on Facebook, then you
   can do that by adding a “Facebook Price” under the “Facebook” tab on the edit
   product page: [https://d.pr/i/SXdoNf](https://d.pr/i/SXdoNf)
 * Can you please let me know what you’re trying to achieve with this?
 *  Thread Starter [guiest](https://wordpress.org/support/users/guiest/)
 * (@guiest)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/automatica-variable-price/#post-15493100)
 * My values ​​for payment in cash are different, there is a 15% discount on the
   total amount.
    I would like to announce the lowest amounts on facebook, ie the
   principal amount minus 15%.
 * If the product costs R$1000, change the autofill in the “Fabook Price” field 
   to R$850.
 * Example on Google Shopping:
    [https://wordpress.org/support/topic/add-change-to-product-price-on-google/](https://wordpress.org/support/topic/add-change-to-product-price-on-google/)
    -  This reply was modified 4 years, 1 month ago by [guiest](https://wordpress.org/support/users/guiest/).
 *  [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/automatica-variable-price/#post-15502493)
 * Hi [@guiest](https://wordpress.org/support/users/guiest/),
 * Thanks for the clarifications. In order for Facebook to be able to add and read
   the discount by default, that will require customization (custom codes).
 * Another option is what Sandip recommended above.
 * If you decide to go the coding route for customization, I can recommend the following
   places for more development-oriented questions:
    - [WooCommerce Slack Community](https://woocommerce.com/community-slack/)
    - [WooCommerce FB group](https://www.facebook.com/groups/advanced.woocommerce/)
 * I hope this helps!
 *  [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/automatica-variable-price/#post-15502503)
 * I will also leave this topic open in case someone wants to jump in and help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Automatica variable price’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [B C. a11n](https://wordpress.org/support/users/battouly/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/automatica-variable-price/#post-15502503)
 * Status: resolved