Skip to content

Commit

Permalink
Merge pull request #577 from leemyongpakvn/make_rating_mandatory
Browse files Browse the repository at this point in the history
productcomments - Make rating mandatory
  • Loading branch information
nicosomb authored Mar 18, 2024
2 parents 4e202d9 + f1cd766 commit 0d083dc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

<script type="text/javascript">
var productCommentPostErrorMessage = '{l s='Sorry, your review cannot be posted.' d='Modules.Productcomments.Shop' js=1}';
var productCommentMandatoryMessage = '{l s='Please choose a rating for your review.' d='Modules.Productcomments.Shop' js=1}';
var ratingChosen = false;
</script>

<div id="post-product-comment-modal" class="modal fade product-comment-modal" role="dialog" aria-hidden="true">
Expand Down

0 comments on commit 0d083dc

Please sign in to comment.