WooCommerce 3.0 Upgrade Steps

These steps only apply if you were using WooCommerce 2.X with our themes before upgrading to WooCommerce 3.X

Genesis Steps

Patron

Upgrade to 1.1.0 or higher

OR preform the manual upgrade steps below:

In functions.php after this block of code:

// Add WP custom background support
add_theme_support( 'custom-background', array(
    'default-color' => 'fff'
) );

start a new line and add:

// Add WooCommerce Lightbox and Gallery Support
add_theme_support( 'wc-product-gallery-lightbox' );

in either the /wp-content/themes/patron/style.css (add it near or at the end of this file) or via Custom CSS add this CSS:

.woocommerce img.attachment-shop_single {
    width: 22.05%;
    float: left;
    margin-right: 2.9%;
}

.woocommerce-product-gallery img.wp-post-image {
    width: auto;
    float: none;
}

.woocommerce-product-gallery figure {
    margin: 0;
}

.flex-control-thumbs img {
    float: left; 
    margin-right: 2.9%; 
    width: 22.05% !important; 
    margin-bottom: 2%;
}

.flex-active-slide img {
    width: auto !important;
}

Thesis 2.3+ Steps

Patron

Upgrade to 1.0.7 or higher

OR preform the manual upgrade steps below:

In wp-content/skins/patron-t2/lib/functions/themedy-woocommerce.php after this block of code:

add_theme_support( 'woocommerce' );

start a new line and add:

// Add WooCommerce Lightbox and Gallery Support
add_theme_support( 'wc-product-gallery-lightbox' );

and at the end of the same file add:

// Remove Thesis 2.3 WC defaults
add_action( 'woocommerce_before_shop_loop', 'remove_thesis2_wc_defaults' );

function remove_thesis2_wc_defaults() {
    remove_action('woocommerce_before_shop_loop', 'woocommerce_pagination', 35);
    remove_action('woocommerce_after_shop_loop', 'woocommerce_catalog_ordering', 9);
    remove_action('woocommerce_after_shop_loop', 'woocommerce_result_count', 5);
}

in the Thesis 2 Skin Editor -> Custom CSS add:

body.woocommerce img.attachment-shop_single {
    width: 22.05%;
    float: left;
    margin-right: 2.9%;
    margin-bottom: 2%;
}

body.woocommerce-page .woocommerce-product-gallery img.wp-post-image {
    width: auto;
    float: none;
}

body.woocommerce-page .woocommerce-product-gallery figure {
    margin: 0;
}

body.woocommerce-page .flex-control-thumbs img {
    float: left; 
    margin-right: 2.9%; 
    width: 22.05% !important; 
    margin-bottom: 2%;
}

body.woocommerce-page .flex-active-slide img {
    width: auto !important;
}

body.woocommerce-page .summary h1.product_title {
    clear: both;
}