WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Theme issue with woocommerce storefront and product page (3 posts)

  1. ritchar
    Member
    Posted 1 year ago #

    Hey Im having problems getting woocommerce to work with my theme, I did check out the wiki page for help but it didn't seem to work (((http://wcdocs.woothemes.com/codex/third-party-custom-theme-compatibility/))). After trying that and checking the store and product page they were blank.

    Is there a way to get woocommerce storefront and product page to wrap properly?
    http://www.vivalacoco.com/shop/
    http://www.vivalacoco.com/shop/1/

    thanks in advance!

    http://wordpress.org/extend/plugins/woocommerce/

  2. Roy Ho
    Member
    Posted 1 year ago #

    I believe this is a question you should ask your theme developer instead. Have you tried that?

  3. rinkejacobs
    Member
    Posted 1 year ago #

    Hi Ritchar,

    Same problem here. My content on the product page is aligned to the left. All the other woocommerce pages are perfect.

    http://www.rinkejacobs.nl/winkel

    I tried to follow these steps (((http://wcdocs.woothemes.com/codex/third-party-custom-theme-compatibility/)))

    This is the code already in my functions.php:

    /**
     * WooCommerce
     *
     * Unhook/Hook the WooCommerce Wrappers
     */
    remove_action('woocommerce_before_main_content', 'responsive_woocommerce_wrapper', 10);
    remove_action('woocommerce_after_main_content', 'responsive_woocommerce_wrapper_end', 10);
    
    add_action('woocommerce_before_main_content', 'responsive_child_woocommerce_wrapper', 10);
    add_action('woocommerce_after_main_content', 'responsive_child_woocommerce_wrapper_end', 10);
    
    function responsive_child_woocommerce_wrapper() {
      echo '<div id="content-woocommerce" class="grid col-940">';
    }
    
    function responsive_child_woocommerce_wrapper_end() {
      echo '</div><!-- end of #content-woocommerce -->';
    }

    What can i do to fix this problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.