So I am new to wix code and javascript, however i do have some C++/VB/PHP experience so i I am sure ill manage. However I have NO FREAKING clue how to import my products into the Products table in wix stores. I figured out how to import a json into a non store table but when i try
wixData.insert(collection, item) OR
wixData.query(collection)
where collection = Stores/Products I get nothing. I get an error if i type Stores/Productswrongname, so I know I am at least referencing the table correctly.
where collection = myOtherTable everything works fine
Check out this post for more guidance https://support.wix.com/en/article/wix-code-using-the-wix-pay-api-to-collect-payments-for-products-in-a-database-collection
If you don’t have a complicated site you could use the data collection as you have discovered and then use the wix-pay API to manage payments https://www.wix.com/code/reference/wix-pay.html But you will need to write some code.
well that sucks. also I do not have that option, I was told its an old feature that is no longer supported for some reason. I have over 9000 UNIQUE Products that have changing quantitys daily from my Brick and mortor storefront
Hey
That is because Stores/Products is read only so you can't import it using the Data Collection. I think that if you go into the store admin dashboard there is a IMPORT PRODUCTS feature inside that. I think the data collections will be writeable in some future but have no idea on when. This is a feature request so I hope they are working on that.