Title: Variable product price &#8211; changing &quot;From:&quot;
Last modified: August 21, 2016

---

# Variable product price – changing "From:"

 *  [rchowdhury](https://wordpress.org/support/users/rchowdhury/)
 * (@rchowdhury)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/variable-product-price-changing-from/)
 * Hi,
 * I have variable products in my store and wanted to change the word “From:<min_price
   >” to “Price starting from:<min_price>”. I want to change the same both in the
   shop page and the single product page. Basically the HTML `<span class="from"
   >From: </span>` in shop page should get changed to `<span class="from">Price 
   starting from: </span>`. Same in single product page.
 * My site shop page is: [http://www.frameit.in/product-category/photographs/](http://www.frameit.in/product-category/photographs/)
   
   Single product page is: [http://www.frameit.in/product/rc1-1-0035/](http://www.frameit.in/product/rc1-1-0035/)
 * Any help will be greatly appreciated!
 * Thanks.
 * [http://wordpress.org/plugins/woocommerce/](http://wordpress.org/plugins/woocommerce/)

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

 *  [sleepymonk](https://wordpress.org/support/users/sleepymonk/)
 * (@sleepymonk)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/variable-product-price-changing-from/#post-4363646)
 * I found several threads similar to your request – maybe one of them will help
   you or at least point you in the right direction. Just keep in mind they may 
   be older versions of WC
 * [http://wordpress.org/support/topic/manually-edit-from-price?replies=4](http://wordpress.org/support/topic/manually-edit-from-price?replies=4)
 * [http://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-delete-from-price](http://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-delete-from-price)
 *  Thread Starter [rchowdhury](https://wordpress.org/support/users/rchowdhury/)
 * (@rchowdhury)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/variable-product-price-changing-from/#post-4363672)
 * Thanks! This code did it.
 *     ```
       add_filter('woocommerce_variable_price_html','custom_from',10);
       add_filter('woocommerce_grouped_price_html','custom_from',10);
       add_filter('woocommerce_variable_sale_price_html','custom_from',10);
   
       function custom_from($price){
       $new_from = "Price starting from";
       $price = str_replace('From',$new_from,$price);
       return $price;
       }
       ```
   

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

The topic ‘Variable product price – changing "From:"’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [from](https://wordpress.org/support/topic-tag/from/)
 * [price](https://wordpress.org/support/topic-tag/price/)
 * [variable product](https://wordpress.org/support/topic-tag/variable-product/)

 * 2 replies
 * 2 participants
 * Last reply from: [rchowdhury](https://wordpress.org/support/users/rchowdhury/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/variable-product-price-changing-from/#post-4363672)
 * Status: not resolved