I would like to reduce the number of products shown from the beginning to e.g. 8. Using a [Load more] button, another 8 should then be loaded, and so on.
It shouldn't be a pagination, I just want additional products to be displayed.
Does anyone have an idea how I can implement this?
Thank you very much for your help.
Something like that could be good for your case?
Maybe this can help:
I have a project working with a repeat children which expression is:
serverconnect1.data.myarray.top(var1.value)
var1 is a simple variable:
<dmx-value id="var1" dmx-bind:value="15"></dmx-value>
My see more button is:
dmx-on:click="var1.setValue(var1.value+15)
Everything is working fine
Here is some code to play with:
<body is="dmx-app" id="seemore">
<dmx-serverconnect id="serverconnect1" url="../dmxConnect/api/wapplercommunity/seemore.php"></dmx-serve…
Thank you very much for your help, but unfortunately it doesn't work for me.
In my opinion, I did it exactly as described, but I can't see anything.
I can see the entries without .top(var1.value)
I'm on mobile and can't be sure of what I see...
Can you make sure that formatters is declared I n your head section?
Thank you,
no, was not specified, now it's working
1 Like