Menu Close

WooCommerce Customization Masterclass: WordCamp Dublin 2017 Slides & Video


I had the pleasure to co-organise the very first WordCamp Dublin this year. We welcomed 26 amazing speakers, 250 attendees, incredible sponsors and enjoyed a great venue and tasty food.

Just because organising, MCing, managing speakers and writing website content were not enough, I also decided to run a 45mins workshop titled “WooCommerce Customization Masterclass” and I have to say I received great feedback despite the lack of voice, sleep and energy (thank you)!

I spoke briefly about WooCommerce customization, my WooCommerce visual hook guides, the difference between snippets and plugins and finally demoed a few snippets to add, remove and move WooCommerce content to/from the Single Product Page.

Slides: “WooCommerce Customization Masterclass”

Snippets used in Demo: “WooCommerce Customization Masterclass”

// Add content @ Single Product Page

add_action( 'woocommerce_after_single_product_summary', 'bbloomer_echo_content', 5 );

function bbloomer_echo_content() {
echo '<p>Test</p>';

// Remove default WooCommerce content @ Single Product Page

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );

// Move default WooCommerce content @ Single Product Page

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
add_action( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_price', 5 );

Video: “WooCommerce Customization Masterclass”

Twitter timeline: “WooCommerce Customization Masterclass”

View Source
Posted in WordCamp, WordPress