Title: changing variable price display
Last modified: August 20, 2016

---

# changing variable price display

 *  [Matt Gilbert](https://wordpress.org/support/users/matt-gilbert/)
 * (@matt-gilbert)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/changing-variable-price-display/)
 * I have some products that have variations that change the price. I would like
   to change the display of the price in the archive and single-product views. The
   default is generated as “From: $X.XX” and I would like it to show as “$X.XX and
   up”.
 * I have located the price.php files for the loop and for the single product pages
   of the templates, but I can’t locate the actual code that generates the `<span
   class="from">` and `<span class="amount">`. Those two items seem to be generated
   by `get_price_html()` but I can’t seem to locate that function.
 * Any help with where I can find that function or how I can override the output
   through a hook or filter would be greatly appreciated.
 * Thanks.

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/changing-variable-price-display/#post-3182809)
 * I’m guessing that function is from a commerce plugin or theme you’re using. You
   can also filter the content of each post with the filter ‘the_content’.
 *  [L. Littlefield](https://wordpress.org/support/users/lchelak/)
 * (@lchelak)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/changing-variable-price-display/#post-3182818)
 * Matt — You might have beeter luck posting in a forum specific to the plugin. 
   Which is it?

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

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

## Tags

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

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 3 participants
 * Last reply from: [L. Littlefield](https://wordpress.org/support/users/lchelak/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/changing-variable-price-display/#post-3182818)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
