Comments on single product page and product listing

Hi dear,
Regarding marketpress single product page and product listing page I would like to switch on the comment on those pages but I can't find where to do it.
In setting >discussion the comments are allowed but then on the product page I see "comment off". See the Screenshot attached.
Thx
Paddy

  • Vaughan

    Hi Paddy,

    Hope you're well?

    Marketpress doesn't support comments on the products post type i'm afraid.

    You can try & enable this byediting the plugin code, but these changes will be lost on every update.

    If you really wish to enable them, you will need to edit the following file:

    /wp-content/plugins/marketpress/marketpress.php

    Find the following on or around lines 235 - 242:

    'supports'           => array(
    				'title',
    				'editor',
    				'author',
    				'excerpt',
    				'revisions',
    				'thumbnail',
    			),

    Then add comments to the array so it looks like below:

    'supports'           => array(
    				'title',
    				'editor',
    				'author',
    				'excerpt',
    				'revisions',
    				'thumbnail',
                    'comments',
    			),

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.