I have my comments disabled for my products but the "add comment" links are still showing up. I tried disabling the comment module and re-enabling it but that didn't fix the problem.

The issue I'm experiencing is happening in my store which can be found here: http://plecco.net/store/web-packages/starter-web-package

Thanks for any help.

Comments

jpstokes’s picture

Man...not one response in almost a month.

Thankfully, I figured this one out myself. Seems that if you had comments enabled when you made your products or other content type and then you disable it for that content type this will only effect future items. Meaning, items already created will still have comments enabled, but future items won't. Not sure if this is a bug or the way it was intended to work, but I had to find out the hard way. Anyway, for the items you already have created, you'll have to edit each of them and disable the comments on that page/node. Hope this helps someone else.

michaelfillier’s picture

I just had the same issue. I imported content from a feed and at the time of import I had comments enabled for the conteny type. Later I turned comments off for the content type and the form is still showing up. Is there any way to perform a check to see if the content still has comments enables at the time of rendering. In my case I am lucky enough to have imported my content from a feed, which can just be refreshed, but I would be worried about a situation where I simply want to discontinue allowing comments on a content type that has many existing nodes.

jpstokes’s picture

I agree they should provide an option that allows you to disable preexisting comments when you disable comments for a content type. I'll add this into the feature request for the comments module.

masondib’s picture

Just another vote for providing this option. It seems like comments should be disabled for preexisting nodes by default.

In the meantime, you can update the comment settings for preexisting nodes manually by running the following SQL statement on the db:

UPDATE node SET comment = 0 WHERE type = 'YOUR_CONTENT_TYPE'

WorldFallz’s picture

Voting in the forums is meaningless-- if you find this feature important, I recommend posting to the op's core issue: #737308: Disabling comments for a specific content should give an option to disable comments on existing items of that type as well..

manoloka’s picture

Thanks Masondib, that did the trick

manoloka’s picture

???

silverfly’s picture

I've always wondered about this. You're my hero! Thanks!

tyjamessmith’s picture

I recently ran into this issue and after looking for solutions ended up here. Though it was probably tempting to not give the solution when you got no help I want to thank you for it.