WordPress.org

Ready to get started?Download WordPress

Forums

FoxyShop
[resolved] Comments on Product Pages (5 posts)

  1. coding4fun
    Member
    Posted 2 years ago #

    Hello,
    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:

    define('FOXYSHOP_PRODUCT_COMMENTS',1);
    require_once(ABSPATH . 'wp-settings.php');
    ?>

    What could be the issue?
    Thanks!

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

  2. sparkweb
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. coding4fun
    Member
    Posted 2 years ago #

    Hello!
    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.

  4. sparkweb
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. coding4fun
    Member
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags