Ready to get started?Download WordPress


WooCommerce - excelling eCommerce
Replace WooCommerce Class (1 post)

  1. ywickham
    Posted 1 year ago #

    WooCommerce has a class "get_shipping_to_display()", that keeps outputting $36 in my invoices (using the Print Invoice & Packing List plugin) as the value for shipping... regardless of what the shipping out is actually.

    I've narrowed it down to that class, as using "get_shipping()" displays the actual shipping price.

    I don't want to modify WooCommerce core files (so as not to cause problems with updates later on), so how do I go about replacing that class with my own class in functions.php... and what would that look like?



Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic