Skip to content

Instantly share code, notes, and snippets.

@ampLocal
ampLocal / wc-remove-shipping-free-label.php
Created March 31, 2016 15:15 — forked from bekarice/wc-remove-shipping-free-label.php
Remove (Free) after WooCommerce free shipping methods
//Remove (Free) label on cart page for "Shipping and Handling" if cost is $0
function wc_change_cart_shipping_free_label( $label ) {
$label = str_replace( "(Free)", " ", $label );
return $label;
}
add_filter( 'woocommerce_cart_shipping_method_full_label' , 'wc_change_cart_shipping_free_label' );
@ampLocal
ampLocal / Woocommerce - output product variations in tab
Created March 15, 2016 03:18 — forked from simonlk/Woocommerce - output product variations in tab
Output Woocommerce product variations as a table within a tab on the single product page
// Add to functions.php
/*===================================================
Created by sk from Renegade Empire with help
from these sources:
http://docs.woothemes.com/document/editing-product-data-tabs/
http://www.sean-barton.co.uk/2013/03/remove-woocommerce-20-reviews-tab/#.UYnWe7XfB6N
http://www.sean-barton.co.uk/2013/03/sb-add-woocommerce-tabs-wordpress-plugin/#.UYrYL7XfB6M