在Google客户评论脚本添加时,Magento 2会抛出404错误。我该如何解决这个错误。我希望在我的网站上获得客户评论。
Click On This Link For Clearance
<?php $merchantId=106301268;
$_position="TOP_LEFT";
?>
<script src="https://apis.google.com/js/platform.js?onload=renderBadge" async defer></script> <script>
window.renderBadge = function() {
var ratingBadgeContainer = document.createElement("div");
document.body.appendChild(ratingBadgeContainer);
window.gapi.load('ratingbadge', function() {
window.gapi.ratingbadge.render(ratingBadgeContainer, {
"merchant_id": <?php echo $merchantId ?>,
"position": "<?php echo $_position ?>"
});
});
} </script>