I've been following this guide https://www.youtube.com/watch?v=KgqPvljpbSo and I did everything BUT when I click preview to check if related products displayed but all I see is the strip with repeater as I added them. I got this error on the panel when I clicked preview Cannot find module 'wix-Data' in 'public/pages/fz7md.js' Please, Any help!
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
mmm! That seems to be complicated! I've giving the same IDs for my elements to make the code work! and it gives me no error!
You can't just copy the code and expect it to work with your site as that code example using it's own datasets which hold the products etc.
You will need to create your own datasets with your own products etc and work with your own datasets, hence why you are getting that related products collection does not exist error.
I have copied the code from the template you've provided and pasted it on my website and now I got this WDE0025: The related-products collection does not exist. You cannot work with a collection using the Data API before it is created in the Editor.
WDE0025: The related-products collection does not exist. You cannot work with a collection using the Data API before it is created in the Editor.
any idea ?
my website store still has the default products that was coming with the template. I didn't add my own products yet because I think these demo products are working just like any other products as long as they are on the site!
that's the exact guide I was following: Now I have no error but no products on the repeater! Also the repeater still shows the default title and description along with image!
Have a look at the actual Wix tutorial page itself.
https://support.wix.com/en/article/corvid-adding-a-related-products-area-to-a-wix-store-product-page
As you are using Wix Stores, make sure that it is fully installed on your website.
Note
You may need to save or publish the site and refresh your browser to view the Stores collections in the Database.
Note in the first paragraph.
Throughout this article we're going to use this site to illustrate the process.
- View this page to see the published website example.
You can open the site in the Editor to work with the template.
- Open this in your own Wix Editor to see the page fully laid out already with all the elements and code etc already setup on your page and in your code tab too.
This is also mentioned again at the end of the tutorial page too.
Next Steps
Open this example in the Editor to work with the template.
Publish the site and refresh your browser so the Stores collections appear in the Database.
Try other Corvid Store examples:
Adding a Wishlist to a Wix Stores Site
Adding Multiple Items to the Cart in a Wix Stores Site
Adding a Gift Quiz to a Wix Stores Site
Adding a Product Configurator to a Wix Stores Site
Adding Ratings and Reviews to a Wix Stores Site
Update! I have fixed the error and now it shows no error but products still are not showing! !!!! I see the repeater image only with default title and description