Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save AnanthFlycart/842600e7e5f9aacd04137404b069c292 to your computer and use it in GitHub Desktop.

Select an option

Save AnanthFlycart/842600e7e5f9aacd04137404b069c292 to your computer and use it in GitHub Desktop.
// Fix - Woodmart theme variation price display issue
add_filter('advanced_woo_discount_rules_custom_target_for_variable_product_on_qty_update', function ($target) {
$target = 'div.nb-price';
return $target;
}, 10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment