[-] BO : products comments impossible if quantity > 0
The pull request https://github.com/PrestaShop/PrestaShop/pull/219 makes the module not working properly in v1.5.4.1. Indeed, after this change, the OosHook works as expected but now, as the product comments module is attached to the OosHook, comments information is only shown when the product is out of stock!
This commit is contained in:
@@ -35,6 +35,8 @@ $(function(){
|
||||
});
|
||||
</script>
|
||||
|
||||
{if $logged == 1 || $nbComments != 0}
|
||||
</div><!-- Close the OosHook -->
|
||||
<div id="product_comments_block_extra">
|
||||
{if $nbComments != 0}
|
||||
<div class="comments_note">
|
||||
@@ -60,4 +62,6 @@ $(function(){
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div><!-- new div for the next content if any -->
|
||||
{/if}
|
||||
<!-- /Module ProductComments -->
|
||||
|
||||
Reference in New Issue
Block a user