Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #963332

    Hey guys,

    I’m currently creating a custom single product page with the ALB. But somehow the product review don’t appear on the site.

    #963483

    I have same problem :

    #964229

    Hi hemn,

    Best regards,
    Victoria

    #964230

    Hi FadingReality,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #964277

    Just look at the new products we created. There we used ALB. I posted a login link below

    #966278

    Hi,

    Thanks for the update. The login token has expired. A fix was included for the product reviews element on the latest version of the theme. I did notice that the site is running on version 4.4 so this should have fixed the issue. Please remove the browser cache and check the page again.

    Best regards,
    Ismael

    #966603

    Nope that doesn’t help :(

    Here’s a new login link:

    #967483

    Hi FadingReality,

    Can you please point us to the page where it is happening?

    Best regards,
    Victoria

    #969420

    Hey, I removed the custom codes but it still doesn’t work :(

    #970888

    I have the same problem

    #970928

    Hi,

    Thanks for the update.

    We modified the config-templatebuilder > aviashortcodes > product_snippets > product_snippet_reviews.php file (line 79).

    add_filter('comments_open', '__return_true');
    

    The “reviews” form should display now.

    Best regards,
    Ismael

    #971129

    Great, this made it work! Awesome :)

    #971245

    Hi FadingReality,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #971966

    Im continue with the problem

    #972206

    Hi honkatech,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #972311

    Hi there,
    Same goes for me. Details in private content. I also tried to modify the file mentioned above but no effect.
    EDIT: Found the solution. I had 0 reviews and I found this snippet in the product_snippet_review.php

    			if($product->get_review_count('view') != 0) {
    				add_filter('comments_open', '__return_true');
    			}
    

    This means that if your number of review is equal to 0, the ALB element will not appear. This is problematic. Just replace it by:

    
    			if($product->get_review_count('view') >= 0) {
    				add_filter('comments_open', '__return_true');
    			}
    

    You could also try to delete these two lines, I didn’t do it because I didn’t inspect the entire structure of the code. But, it seems that these two lines were not in previous Enfold versions. This needs to be fixed at the next update. Please push this to the dev team in charge of the updates because this is highly important. There is, at the same time, a problem with the ‘__return_true’ which is not in brackets and a problem for the user experience. Your team thaught that if there is no review, there is nothing to show ( !=0 ). But at this moment, how the customers will write reviews?

    Best regards,
    Dimitri.

    • This reply was modified 6 years ago by dimitrilpc. Reason: Found the solution
    #973318

    Hi Dimitri!

    Thank you for bringing this up. For now, you can just delete the check and leave the filter working.

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.