• Hi, I am using woocommerce for first time and am having an issue with product page. Here is what I’ve done so far to setup woocommerce for my custom wp theme:

    1) installed latest(2.0.5) WC plugin and activated
    2) in my functions.php file, I’ve added following lines:

    //Remove Breadcrumbs
    remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0);

    //Get Rid of Stupid Tabs
    remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 10);
    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20, 2);
    add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_product_description_panel’, 20 );

    //Remove Product Reviews
    remove_action( ‘woocommerce_product_tabs’, ‘woocommerce_product_reviews_tab’, 30 );
    remove_action( ‘woocommerce_product_tab_panels’, ‘woocommerce_product_reviews_panel’, 30 );

    //Remove Sidebar from WooCommerce
    remove_action( ‘woocommerce_sidebar’, ‘woocommerce_get_sidebar’, 10);

    add_theme_support( ‘woocommerce’ );

    3) created a copy of my page.php and renamed it as woocommerce.php
    4) replaced my if (have_posts()) : etc loop with woocommerce_content();

    Now I have everything setup for woocommerce. I have now added a couple of products in 2 categories, which are showing on shop page:

    First category’s product:
    https://awesomescreenshot.com/0f915b83ab

    Second category’s product:
    https://awesomescreenshot.com/02215b8b10

    I can add the products to cart and view cart page etc. Now when I click on any product, it should go to product detail page. But when I click on any product, it takes me to 404 page:

    https://awesomescreenshot.com/03a15b8kc8

    I have tried after removing all parmalink settings and restored them to default, but still no luck:
    https://awesomescreenshot.com/09415b8p88

    I’m trying to fix this since 3 days now, but can’t find any solution. I have even tried to install WC v2.0.4 but still same issue.

    Please help.. ??

    https://www.ads-software.com/extend/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor James Koster

    (@jameskoster)

    Hi there,

    Have a look on the WooCommerce System Status page to see if you’ve any set up issues.

    Also keep in mind that tabs are no longer hooked in since 2.0. If you want to modify or remove them have a read of this; https://docs.woothemes.com/document/editing-product-data-tabs/

    Also try activating TwentyTwelve to see if there are any compatibility issues with your theme.

    Thanks, Jay

    [sig moderated as per the Forum Rules]

    Thread Starter jazzbot

    (@jazzbot)

    Thanks Jay for your reply. I’ve activated TwentyTwelve theme and still having same issue, so its not compatibility issue with my theme. Please refer to following screenshots for detail:

    Shop Page: https://awesomescreenshot.com/06b15bcz7a
    Product Page: https://awesomescreenshot.com/0fd15bd1e8 (Still not working in twentytwelve theme)

    WC System Status page: https://awesomescreenshot.com/0a915bd559

    PS: Right now I am using WC v2.0.4 as you can see in system status page, but I was having same issue with v2.0.5

    Thread Starter jazzbot

    (@jazzbot)

    Any help guyz?? I’m badly stuck with this and have spent 3 days trying to fix this issue but can’t find any help so far.

    I’ve tried to try woocommerce on fresh wp installation on twentytwelve, still having same issue.

    Should I just try any other plugin except woocommerce? I am even open to buy any premium plugin, please suggest.. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Product Page not Found’ is closed to new replies.