I am trying to recreate the example from this post: https://support.wix.com/en/article/wix-code-how-to-add-multiple-items-to-the-cart-in-a-wix-stores-site on my website. However, I keep getting a "parsing error: unexpected token export" on the following line:
export function SelectedCTFRepeater_itemReady($w, itemData, index) . This is supposed to be setting up each item in the selected repeater as it is loaded.
As I am not a trained programmer whatsoever, could you please explain what might have gone wrong and how I can solve this error?
Thank you in advance!