Hi enfold team:
Using the woocommerce plugin, I want to remove the sidebar (This part is easy , I create a empty widget area and choose this as the sidebar setting in specific product page). But I also want to extend the tag groups (Description, additional information) to the width of the page body. Could you please help guild me to do this?
The version info is as below
Enfold:3.0.2
woocommerce:2.2.7
Wordpress:4.0
BR//
Heng
Hi Enfold team:
I find a way to modify this by change the /enfold/config-woocommerce/config.php – avia_woocommerce_display_output_upsells function
something looks like
function avia_woocommerce_display_output_upsells()
{
global $avia_config;
$products = $avia_config[‘woo_upsells’].$avia_config[‘woo_related’];
if(!empty($products))
{
$output=””;
$tabs = apply_filters( ‘woocommerce_product_tabs’, array() );
if ( ! empty( $tabs ) ) {
$output .= ”?>
(Some code from tag.php template from woocommerce)
<?php;
}
$output .= “</div></div></div>”;
$output .= ‘<div id=”av_section_1″ class=”avia-section alternate_color avia-section-small container_wrap fullsize”><div class=”container”><div class=”template-page content twelve alpha units”>’;
$output .= $products;
echo $output;
}
}
And it worked. However, I wonder if there is any way to overide this config-woocommerce/config.php in the child theme? I don’t want to change it every time when the enfold theme is updated
BR//
Heng
Hi!
Can you post a link to your website please?
Cheers!
Andy