-
AuthorPosts
-
May 28, 2018 at 4:12 pm #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.
May 29, 2018 at 2:27 am #963483I have same problem :
May 30, 2018 at 1:53 pm #964229Hi hemn,
Best regards,
VictoriaMay 30, 2018 at 1:53 pm #964230Hi 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,
VictoriaMay 30, 2018 at 2:32 pm #964277Just look at the new products we created. There we used ALB. I posted a login link below
June 4, 2018 at 3:49 am #966278Hi,
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,
IsmaelJune 4, 2018 at 4:22 pm #966603Nope that doesn’t help :(
Here’s a new login link:
June 5, 2018 at 9:08 pm #967483Hi FadingReality,
Can you please point us to the page where it is happening?
Best regards,
VictoriaJune 7, 2018 at 2:50 pm #969420Hey, I removed the custom codes but it still doesn’t work :(
June 10, 2018 at 10:38 pm #970888I have the same problem
June 11, 2018 at 4:18 am #970928Hi,
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,
IsmaelJune 11, 2018 at 12:55 pm #971129Great, this made it work! Awesome :)
June 11, 2018 at 3:29 pm #971245Hi FadingReality,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaJune 13, 2018 at 12:15 am #971966Im continue with the problem
June 13, 2018 at 10:48 am #972206Hi 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,
VictoriaJune 13, 2018 at 3:18 pm #972311Hi 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.phpif($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, 5 months ago by dimitrilpc. Reason: Found the solution
June 15, 2018 at 2:19 pm #973318Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.