Skip to content

Commit

Permalink
productcomments - Make rating mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
leemyongpakvn committed Jan 24, 2024
1 parent ec089f5 commit f1cd766
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 f1cd766

Please sign in to comment.