Skip to content

Instantly share code, notes, and snippets.

remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15 );
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_upsells', 15 );
if ( ! function_exists( 'woocommerce_output_upsells' ) ) {
function woocommerce_output_upsells() {
woocommerce_upsell_display( 3,3 ); // Display 3 products in rows of 3
}
}

Python Number Conversion Chart

From To Expression
@paulakg4
paulakg4 / fiddle.css
Created November 18, 2011 20:05 — forked from zalun/fiddle.css
body {
font-family: Helvetica, Verdana
}
p {
padding: 7px 10px;
}
#demo {
border: 1px solid #999;
}
@paulakg4
paulakg4 / fiddle.css
Created November 18, 2011 20:03 — forked from zalun/fiddle.css
Demo for jsFiddle
body {
font-family: Helvetica, Verdana
}
p {
padding: 7px 10px;
}
#demo {
border: 1px solid #999;
}