I'm trying to add an additional text field to magento's product review. It looks like maybe this would need to live in the 'review_detail' table, but beyond creating the column in the db and adding the field to the template file, I'm not sure how to add this field so that it will be integrated into the review system. Can anyone get me started in the right direction?
相关问题
- Magento 1.7.0.2 Index Management overwriting URL R
- Magento: Best way to avoid extension conflicts
- Magento Fatal error: Maximum execution error solut
- jquery/prototype conflicts in Magento
- 404 error when switching between stores when in a
相关文章
- Magento, translate validation error messages
- Magento API order id vs. increment id
- Unique constraint violation on Magento 1.4.0 to 1.
- Editing Magento sales e-mail payment block
- Adding tags to products in Magento
- Magento Collection GroupBy getSize
- Magento upfront payment
- compare only those product who have same category
I have added 2 extra field in review form just go to the frontend\base\default\template\review/form.phtml add two field as other text field.
Now go to app\code\core\Mage\Review\Model\Mysql4\Review.php
Now add email,fname in the review_detail table in the database also go to app\code\core\Mage\Adminhtml\Block\Review\Edit\Form.php also add :
before to
I hope now you can add extra fields in review form.
Thanks
For the "Unable to post the review" error, you need to add this 2 new fields in the function _cropReviewData in app\code\core\Mage\Review\controllers\ProductController.php
I hope this will help.