Skip to main content

Hi,

I’m using the first set-up from this recipe: https://www.klaviyo.com/blog/solution-recipe-19-simplified-custom-product-blocks

I want to display products in a feed from eg. product nr 20 to product nr 40, instead of just up to 40.

Does anyboady know how to solve that using this section repeat rule as example: feeds.L2_Custome_Maid|slice:100

 

 

Thanks!

Hi!

I think it should work if you use the syntax ”<start_number>:<end_number>” in your slice filter:

i.e. : feeds.L2_Custome_Maid|slice:”20:40”

 

Does it work for you ?


@Gutsu91

Hi!

Thanks for the  answer, but unfortunately that didn’t do the trick.


Hm, weird. Thats works for my custom product block or even for a string, but I’m not using the Content repeat feature, it’s in plain code. Maybe this needs a specific syntax if used there.

 

 


@Gutsu91 Yes, that makes sense, thanks for helping though!