Repeater & Boolean Values.

I am simply trying to build an Leaflet Product Selection solution for a company, where their suppliers offer 100’s of products (Displayed on one page/collection), but they only select a couple of these products to go onto their leaflet (a New page/collection) for advertising purposes!

My idea is to design the site exactly like you would find in any typical online store, but it’s not a store, it’s a selection of products only, where the offered products are displayed in a Repeater, with a nice picture, a description and a price. My clients would then “browse” through the products and select only the products they want on their customized leaflet page by clicking on the checkbox of that specific product.

The product then needs to be carried over to the new “Leaflet” page/collection(Table), where only the selected products from the “Supplier Products” page/collection(Repeater), are populated.

As odd as is might seem, I have done exactly the above, but my problem is that it only populates the 1st “Product” from my Repeater over to the Table Page, regardles if I check the other box’s or not. It even works if I go back to the Repeater Page and ‘un-tick’ the checkbox of that 1st “Product”, click on “SAVE”, it then removes that one product from the Table Page!!

This is only sample products, until I get the problem solved, then I will import all the supplier products, there are 100’s, I just want to get the concept right first:

a Simple collection of 12 sample power tools, with the following fields: Name, Picture, Description, Price and OnOff (for Boolean true or false purposes, as this filed is what I want the client to toggle in order to move it to the Leaflet Table page or not).


I used the template Repeater option to display the above collection and it looks like this in the editor mode:


This is what it looks like in preview mode:


So it looks great and displays all 12 my sample power tools wonderfully!

I have added a “SAVE” button with a ‘Submit’ setting value, in order to ‘Save’ the checkbox selections made by the client in the above page.(But at this point, it only works and gives me the customized message if I checked the checkbox of the 1st Product).

!!Very important!! Please note that I have added a checkbox to the Repeater template in order to capture if the user wants this item added to their Leaflet (Boolean=true) or Not(Boolean=false) when they click on the check box.

As you can see in the closer view below, the checkbox and all other fields are carried over across to all 12 “slides” of the sample products and it looks wonderful!


At this point in time all is going well and it seems as if I am on the right track!

But this is not the case, here is my problem:

In preview mode, I am well allowed to check any of the checkbox’s as follow:


But the “SAVE” button doesn’t work, or give me the confirmation custom message of “your selections has been submitted” when I click on “SAVE”, to submit the Boolean checkbox selections to the collection.

It’s only when I check the checkbox of the very 1st “slide/product” of the template, that the “SAVE” button gives me the confirmation message, changing that boolean value to “True” in the collection, making it visible to be populated onto the Leaflet(Table) page:


My dataset and filter on the 2nd Table Page is in place, in order to display only the products which has a Boolean value that is = True, based on the selections made on the 1st Repeater page:

And this works wonderfully after the “SAVE” button was clicked and the confirmation message was received, that then gives me the table as displayed below.

But regardless of how many checkbox’s I check out of the 12 sample products, the only one that seems to appear and disappear in my table, is the very 1st “slide or product” of the template in the Repeater collection. (Remember the one where I placed the checkbox in the Repeater template in the beginning):


I say again, if I go back to the Repeater page where the 12 sample products are displayed, and un-tick the checkbox of the very 1st product, and click on “SAVE”, then the table on the Table page updates accordingly, which is exactly what we want, so this works:


Why would the display page(Repeater), with the 12 sample products work so wonderful, and allow my clients to check and un-check, selecting only the products they want to be displayed on their “Leaflet” (Table) on the new page, but only for the 1st “slide” or product of the collection?

The setup works great as it is currently, with the Repeater(1st page) to display all the products and the Table(2nd page) to display the selected products on a new page, the only problem is that somehow only entry #1 seems to be working, and are allowed to be added and removed from the table via the Boolean true or false value!!

I am also well aware, from reading several posts, that WIX has some unresolved issues when it comes to Repeaters and User Input, but my argument is that I almost have it where it works, well, it works, but only on the 1st product…

What am I missing here guys, is there another way of doing what I want to do, without bringing in the store app, as this is a selection of products initiative, not a selling of products site?

Please help urgently!!

Regards,
Hennie Smith.