Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2294
    msintenie
    Member

    Hi,

     

    I installed the woocommerce plugin. If I see the productpage, it uses the footer css instead of the normal one. How can I change this?

    Her an example: http://genietendoejezo.nl/shop/wilton-bakblik-boek/

    Thnx!

    Michiel

    #2306
    Sakin
    Keymaster

    @msintenie: Simple Catch Pro theme is not ready for WooCommerce. But you can build a child theme

    Crate a new child theme where you can create two files: style.css and functions.php

    style.css code as below:

    /*
    Theme Name: Simple Catch Pro WooCommerce
    Theme URI: http://catchthemes.com/themes/simple-catch-pro/
    Description: Child theme for the Simple Catch Pro to suppor WooCommerce Plugin
    Author: Catch Themes
    Author URI: http://catchthemes.com/
    Template: simple-catch-pro
    */
    @import url("../simple-catch-pro/style.css");

    functions.php code as below:

    <?php
    /**
    * Adding support for WooCommerce Plugin
    *
    * uses remove_action to remove the WooCommerce Wrapper and add_action to add Simple Catch Wrapper
    *
    */
    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', 'simplecatch_child_woocommerce_start', 15);

    function simplecatch_child_woocommerce_start() {
    echo '<section class="page woocommerce">';
    }

    add_action('woocommerce_after_main_content', 'simplecatch_child_woocommerce_end', 15);

    function simplecatch_child_woocommerce_end() {
    echo '</section></div>';
    }

    #2319
    msintenie
    Member

    Thnx for the quick response. unfortunately the functions.php gives an error (the site doesn’t work)

     

    #2339
    Sakin
    Keymaster

    @msintenie: for function.php don’t copy [php] and [/php]. Just cope the code in between.

    #2343
    msintenie
    Member

    I’ve tested the php script and got this error:

    Parse error: syntax error, unexpected T_CLASS, expecting ‘,’ or ‘;’ on line 5 (the line with echo ‘<section class=”page woocommerce”>’;)

     

    I don’t know how to fix this

    #2354
    Sakin
    Keymaster

    @msintenie: Please copy and paste it carefully. there is problem with ‘. I have given you the clear idea of how to build it. If you are not being able to create the function.php in child theme with the code then please use our “Hire A customizer” http://catchthemes.com/hire-customizer/

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Woocommerce’ is closed to new replies.