I have followed this wix example
Works great except the load more button -same issue on the example site-
The load more is always visible,it should be hidden and become visible only when there are more than 5 reviews for that product.
Can anyone help me out how to write the code that will check how many reviews that certain product has?
I have set the load more button to be hidden on ready
Than i should write an if else code
Struggling with the if statement,i tried with get total of the reviews but checks for the number of rows in the database.
How can i approach this?
if more than 5 reviews for this certain product show the load more ?