Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('woocommerce_get_price_html', 'wcfm_woocommerce_get_price_html', 10, 2);
- function wcfm_woocommerce_get_price_html($price_html, $product) {
- // get your data about lowest price
- $lowest_price = get_your_lowest_price();
- // append it to original column string
- $price_html .= sprintf('<br /><br />Lowest price: %s', $lowest_price);
- return $price_html;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement