Title: marcbdn's Replies | WordPress.org

---

# marcbdn

  [  ](https://wordpress.org/support/users/marcbdn/)

 *   [Profile](https://wordpress.org/support/users/marcbdn/)
 *   [Topics Started](https://wordpress.org/support/users/marcbdn/topics/)
 *   [Replies Created](https://wordpress.org/support/users/marcbdn/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/marcbdn/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/marcbdn/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/marcbdn/engagements/)
 *   [Favorites](https://wordpress.org/support/users/marcbdn/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Discount Rules for WooCommerce] Custom “From:” Price Display for Discounted Variable Products](https://wordpress.org/support/topic/custom-from-price-display-for-discounted-variable-products/)
 *  Thread Starter [marcbdn](https://wordpress.org/support/users/marcbdn/)
 * (@marcbdn)
 * [1 year ago](https://wordpress.org/support/topic/custom-from-price-display-for-discounted-variable-products/#post-18420093)
 * The code works, but I need to add “From:” in front of the prices.
   I have tried
   it, but both the original price and the discounted price appear with “From:” 
   so it’s repeated…I can’t get it to work…
 * It looks like this:
   From: 43,80€ (strikethrough) From: 32,85€
 * Any idea how to fix it?
 * Code:
 * `add_filter('advanced_woo_discount_rules_format_sale_price_range', function($
   html, $min_price, $max_price){ $html = 'From ' . wc_price($min_price); return
   $html; }, 10, 3);`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Discount Rules for WooCommerce] Custom “From:” Price Display for Discounted Variable Products](https://wordpress.org/support/topic/custom-from-price-display-for-discounted-variable-products/)
 *  Thread Starter [marcbdn](https://wordpress.org/support/users/marcbdn/)
 * (@marcbdn)
 * [1 year ago](https://wordpress.org/support/topic/custom-from-price-display-for-discounted-variable-products/#post-18420091)
 * Thank you for providing the code snippet. I’ve implemented it and it works perfectly
   as intended!
 * Thanks again for your help!
 * PD:
 * The code works, but I need to add “From:” in front of the prices.
   I have tried
   it, but both the original price and the discounted price appear with “From:” 
   so it’s repeated…I can’t get it to work…
 * It looks like this:
   From: 43,80€ (strikethrough) From: 32,85€
 * Any idea how to fix it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Discount Rules for WooCommerce] Range price & update price when list of variations](https://wordpress.org/support/topic/range-price-update-price-when-list-of-variations/)
 *  [marcbdn](https://wordpress.org/support/users/marcbdn/)
 * (@marcbdn)
 * [1 year ago](https://wordpress.org/support/topic/range-price-update-price-when-list-of-variations/#post-18417901)
 * [@amerix](https://wordpress.org/support/users/amerix/)
 * I’m really interested in implementing something similar for my site. Have you
   managed to resolve this issue or found a working solution?

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