Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Balakrishnan-flycart/2b4d8de67965e985bcf1d54d1ab59468 to your computer and use it in GitHub Desktop.
Save Balakrishnan-flycart/2b4d8de67965e985bcf1d54d1ab59468 to your computer and use it in GitHub Desktop.
woo discount rules v2 - modify product price
function modify_product_price($html, $original_price, $discounted_price){
$html .= ' + shipping from $9.50';
return $html;
}
add_filter( 'advanced_woo_discount_rules_strikeout_price_html', 'modify_product_price', 10, 3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment