productCustomerRate.setType(Constants.PRODUCT_VALUE_RATING_TYPE);
productService.saveOrUpdateProductMarketingCustomerRate(productCustomerRate);
}
if (StringUtils.isNotEmpty(productCommentForm.getComment())) {
ProductMarketingCustomerComment productCustomerComment = new ProductMarketingCustomerComment();
productCustomerComment.setComment(productCommentForm.getComment());
productCustomerComment.setProductMarketingId(product.getId());
productCustomerComment.setCustomer(customer);
productService.saveOrUpdateProductMarketingCustomerComment(productCustomerComment);
}
addSuccessMessage(request, getSpecificMessage(ScopeWebMessage.PRODUCT_MARKETING, "comment_form_success_message", locale));