• Resolved casing12

    (@casing12)


    Hi, I want to remove the option of entering “product name” from the review submission form. I want to show only the ‘Review Author’, ‘Reviewer’s Email Address’, ‘Review Title’, ‘Overall Score’, ‘Review’ and submit button. Please let me know what options to choose in the setting.

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

    (@etoilewebdesign)

    Hi casing,

    There’s no direct option for this. One thing you could do is use the product_name attribute in your shortcode to indicate a specific product for review, which will, in turn, pre-populate the product name field in the submission form. For example: [submit-review product_name=”Name of Product”]. Then you could just add some custom CSS to hide the product name field from the submission form.

    This was my plan, to hide the field with CSS, but I am getting errors that the field is required. It is set as not required in the settings though. Can someone else test it and make their product name ‘not required’ and see if it still requires???

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    The field is required by default. Are you using in-depth fields? If so, then you can just set the review title field to be not required in the “Fields” area of the “Options” tab. If not, then the only way to make it not required would be to edit the plugin code directly. This code is found in the “SubmitReview.php” file in the “Shortcodes” folder. You’d want to look for the following line:

    array("CategoryName" => "Review Title", "CategoryRequired" => "Yes", "ExplanationAllowed" => "No", "CategoryType" => "Default", "Options" => ""),
    

    and change the CategoryRequired to No.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove product name in review’ is closed to new replies.