Nishith Nesdiya Posted September 11, 2013 Share Posted September 11, 2013 hi friends i use the ProductComent modules i need the user enter the half star ratiing...when its give the reviews i include the jquery.MetaData.js in product comment modules and then i write the code in product.tpl file like as.. <li> <label>{$criterion.name|escape:'html':'UTF-8'}:</label> <div class="star_content"> <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="1" /> <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="2" /> <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="3" checked="checked" /> <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="4" /> <input class="star {split:4}" type="radio" name="criterion[{$criterion.id_product_comment_criterion|round}]" value="5" /> </div> <div class="clearfix"></div> </li> {split:4} is not working it give the smarty error How can solve the this problems? how can provide half star ratting my customer? can any one help me thanks......... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now