Wednesday 16 September 2015

Magento: Product Review Form is not submitting.

While I submit the Product Review form in magneto but it is not submitting and not showing any error message.

Then I checked the Review form. I found some error in code. 


<?php echo $this->getBlockHtml('formkey'); ?>


was not writting.  So I added this code in "form.phml" of Review after form tag.


Now code looks like :


 <?php if ($this->getAllowWriteReviewFlag()): ?>

    <form action="<?php echo $this->getAction() ?>" method="post" id="review-form">

<?php echo $this->getBlockHtml('formkey'); ?>


        <fieldset>

4 comments:

  1. Great Read! I am impressed on how you make your article easy to understand. I'll come back for more :D

    Japs Buidon is a Social Media Specialist and belongs to a team of Magento Developer in Florida. He loves hiking as well as electronics.

    ReplyDelete
    Replies
    1. Many many Thanks Andie... for read my blog and write comment.

      Delete
  2. I think this one of the best blog I have ever seen. Really very informative and very well maintained. Keep updating posts.
    buy red coral capsule shape, triangle shape, oval shape online 

    ReplyDelete
  3. Really a great post and impressive. Keep updating.
    treatment for liver cysts

    ReplyDelete