Hi,
I once made this modification to the right sidebar, but after the latest enfold update it doesn’t work any more. Can you please help me figure out why?
// Right sidebar.
add_action( ‘woocommerce_before_single_product_summary’, ‘avia_add_image_div’, 2);
add_action( ‘woocommerce_before_single_product_summary’, ‘avia_close_image_div’, 20);
function avia_add_image_div()
{
echo “<div class=’single-product-main-image alpha’>”;
}
function avia_close_image_div()
{
global $avia_config;
$avia_config[‘currently_viewing’] = “shop_single”;
echo “</div>”;
}
add_action( ‘woocommerce_before_single_product_summary’, ‘avia_add_summary_div’, 25);
add_action( ‘woocommerce_after_single_product_summary’, ‘avia_close_summary_div’, 3);
function avia_add_summary_div()
{
echo “<div class=’single-product-summary’>”;
}
function avia_close_summary_div()
{
echo “</div>”; //close out the summary
get_sidebar();
}
Never mind – i figured it out. Thank you for a great theme.