Hello. For several days I have not been able to resolve my issue.
Objective: Create a fully customizable dynamic page with a gallery of products from the repeater and the function of adding a product to the cart in 1 click.
Step 1 Create an empty dynamic Collections page (the URL dataset is created automatically)
Problem 1: It is necessary to assign this field (variable # productweight) a value from the standard collection of Products in wix stores
Problem 2: Assign the price value of the product from the wix store to the Price text (# productprice) and change the number format from 0.00 rubles to 0 ₽ (remove fractional chils and change the currency sign)
Objective: Create a fully customizable dynamic page with a gallery of products from the repeater and the function of adding a product to the cart in 1 click.
Step 1 Create an empty dynamic Collections page (the URL dataset is created automatically)
You need to explain in more detail what you are trying to do.
As I understand it, you want to click on an item in the Repeater and then go to a dynamic page for the selected item. Do you have any code on the dynamic page? How are you displaying the information?
@yisrael-wix No, no click actions need to be created. I want to display the additionalfield of each product in its item in the repeater.
If you ask a question differently. How to transfer any fields from the wix Store dataset to a repeater using a code if the repeater itself is on a dynamic page?
@nikitamp3 Make sure that you have a dataset on your page, and that the code uses the name of that dataset.
Please realize that you can’t just “copy and paste” code and expect it to work. You need to understand what’s happening if you expect to be able to write code that does what you want.
@yisrael-wix Of course I changed the variables to my own.
I tried to insert the Product Name according to your method and something worked. The Product Name in the repeater contains the name of the product, but only one and is repeated on all items