Support » Plugin: FoxyShop » [Plugin: FoxyShop] Comments on Product Pages

  • Resolved coding4fun


    when I add the comments template ( <?php comments_template( ”, true ); ?> ) to my foxyshop-single-product.php page, it says “comments are closed.” My comments work fine on other pages of my site. I have followed documentation and these are the last two lines of my wp-config.php file:

    require_once(ABSPATH . ‘wp-settings.php’);

    What could be the issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author sparkweb


    Have you enabled comments on the specific product in question? Click Screen Options at the top of the screen and check Discussion to see if the comments are enabled for the product.

    Yes, I have. The gray box drops down and the option “comments” is checked. It’s a two column layout, and the only boxes not checked are featured image and slug. Also, on the product edit page below discussion, “Allow comments” and “Allow pingbacks” are checked.

    Some other notes:
    It does not matter if the call to comments is within the form on single-product.php or outside – the issue remains.
    I turned off all other plugins, and even the image gallery on the page (prettyphoto) and there was no change.
    I am using pages for my site and not posts.
    I do not have an issue with including comments template on my other pages, so it is not the theme.
    Also, it’s in test mode right now, not live.

    Plugin Author sparkweb


    Interesting. I just went through the steps you mentioned on my test install (running a pretty generic twentyeleven) and the comments popped in on the product with no problem.

    Could your comments.php file be filtering out non post/page post types? Could you email me at web at sparkweb dot net with your comments.php file and I’ll load it into my test install and see if it makes a difference.

    It turns out that some of the products I entered first did not have “allow comments” checked under discussion on the product edit page. So, when I clicked on one of my products, I was seeing comments are closed. I overlooked this on a few of my pages.

    Thank you foxyshop for providing excellent and fast support!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: FoxyShop] Comments on Product Pages’ is closed to new replies.