• I have just installed WooCommerce 2.6.14 and it says this theme doesn’t offer support for it. Can you suggest any changes I may be able to code to support WooCommerce?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter NetMonkey

    (@headmonkey)

    Is this php code correct to use in a Evolve child theme as a functions.php file? I got this code from the WooCommerce support website. Do I need to change it? Or will it work like this?

    <?php
    remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
    remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
    
    add_action('woocommerce_before_main_content', 'my_theme_wrapper_start', 10);
    add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10);
    
    function my_theme_wrapper_start() {
      echo '<section id="main">';
    }
    
    function my_theme_wrapper_end() {
      echo '</section>';
    }
    
    add_action( 'after_setup_theme', 'woocommerce_support' );
    function woocommerce_support() {
        add_theme_support( 'woocommerce' );
    }
    

    Hello,

    Evolve plus default support woocommerce. If you want woocommerce in evolve,
    You have to customize as per woocommerce guide line as you done already.

    Or follow this URL:
    https://docs.woocommerce.com/document/third-party-custom-theme-compatibility/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does this theme 3.3.7 support WooCommerce?’ is closed to new replies.