Project E-Commerce connected with WooCommerce

Hello Guys,

I am encountering an issue. I am trying to extract all my WooCommerce products inside my Thunkable application. However, for some reason, I can’t figure out what is wrong, as I don’t get any response or any kind of error in the app.

In this screenshot, you can see my configuration. This is the web API I created: screenshot. As you can see here, nothing is showing up: screenshot. I tested the API key with Postman, and I managed to connect successfully, so the API key is working fine.

I do mention I am a beginner, so I am definitely doing something wrong. Please assist me in solving this thank you.

To get the property of an object, you must provide an object. But the green response block is JSON-formatted text. So you need to first get an object from that JSON and then use it in your “for each item” loop.

You can see an example here: Random List of Questions - #2 by muneer

It’s helpful if you embed your screenshots on your forum post. You can do that by copying and pasting the image itself or its url into a post. Or you can use the upload button in the toolbar above the post. You can also resize images once you add them to your post.

Thank you i will try that. To see if it works.

This is what i did now and still not getting anything. No error message nothing.

I also get this error in console when i inspect the app from thunkable. I don’t know if it is relevant.

1 Like

The next thing we need to see is the full JSON response as text. To get that, assign the green response block to a text input’s text. That way you can copy it and paste it into a post here. Make sure to format the text using the </> button in the toolbar above your post to remove smart quotes.


I have made a change Using the Block from Home page. when home opens do call Produse Magazin Api Get. Cause this is the only way i do receive response and some error message. I hope it’s ok like this to. and i get this error now…

[{"id":14161,"name":"Pompa de aer auto de 120W f\u0103r\u0103 fir\/cu fir","slug":"pompa-de-aer-auto-de-120w-fara-fir-cu-fir","permalink":"https:\/\/www.shoptastic.ro\/produs\/pompa-de-aer-auto-de-120w-fara-fir-cu-fir\/","date_created":"2024-10-20T19:45:15","date_created_gmt":"2024-10-20T16:45:15","date_modified":"2024-10-20T19:45:23","date_modified_gmt":"2024-10-20T16:45:23","type":"variable","status":"publish","featured":false,"catalog_visibility":"visible","description":"<h3 style=\"text-align: center\"><b>SPECIFICA\u021aII:<\/b><\/h3>\n<p style=\"text-align: center\"><\/p>\n<p style=\"text-align: center\">Tensiune: 12V<\/p>\n<p style=\"text-align: center\"><\/p>\n<p style=\"text-align: center\">Numele modelului: Mic\u0103 pomp\u0103 de aer portabil\u0103 f\u0103r\u0103 fir<\/p>\n<p style=\"text-align: center\">Tipul materialului: Motor din cupru + Corp ABS<\/p>\n<p style=\"text-align: center\">L\u0103\u021bimea articolului: 14<\/p>\n<p style=\"text-align: center\">Greutatea articolului: 0.5<\/p>\n<p style=\"text-align: center\">Tipul articolului: Pompe<\/p>\n<p style=\"text-align: center\">Lungimea articolului: 21<\/p>\n<p style=\"text-align: center\">\u00cen\u0103l\u021bimea articolului: 6<\/p>\n<p style=\"text-align: center\">Diametrul articolului: 0<\/p>\n<p style=\"text-align: center\">Numele brandului: NarzrIe<\/p>\n","short_description":"","sku":"","price":"112.99","regular_price":"","sale_price":"","date_on_sale_from":null,"date_on_sale_from_gmt":null,"date_on_sale_to":null,"date_on_sale_to_gmt":null,"on_sale":true,"purchasable":true,"total_sales":0,"virtual":false,"downloadable":false,"downloads":[],"download_limit":-1,"download_expiry":-1,"external_url":"","button_text":"","tax_status":"taxable","tax_class":"","manage_stock":false,"stock_quantity":null,"backorders":"no","backorders_allowed":false,"backordered":false,"low_stock_amount":null,"sold_individually":false,"weight":"","dimensions":{"length":"","width":"","height":""},"shipping_required":true,"shipping_taxable":true,"shipping_class":"","shipping_class_id":0,"reviews_allowed":true,"average_rating":"0.00","rating_count":0,"upsell_ids":[],"cross_sell_ids":[],"parent_id":0,"purchase_note":"","categories":[{"id":260,"name":"Auto \u0219i Moto","slug":"auto-si-moto"}],"tags":[],"images":[{"id":14151,"date_created":"2024-10-20T22:44:44","date_created_gmt":"2024-10-20T16:44:44","date_modified":"2024-10-20T22:44:47","date_modified_gmt":"2024-10-20T16:44:47","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sff1f55a6ec8a4a6dbed8d876e13a59230.jpg","name":"Sff1f55a6ec8a4a6dbed8d876e13a59230.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sff1f55a6ec8a4a6dbed8d876e13a59230-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sff1f55a6ec8a4a6dbed8d876e13a59230-300x300.jpg"},{"id":14152,"date_created":"2024-10-20T22:44:47","date_created_gmt":"2024-10-20T16:44:47","date_modified":"2024-10-20T22:44:47","date_modified_gmt":"2024-10-20T16:44:47","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf5fe465a1fa145f38ce622e0d6eafbc3a.jpg","name":"Sf5fe465a1fa145f38ce622e0d6eafbc3a.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf5fe465a1fa145f38ce622e0d6eafbc3a-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf5fe465a1fa145f38ce622e0d6eafbc3a-300x300.jpg"},{"id":14153,"date_created":"2024-10-20T22:44:50","date_created_gmt":"2024-10-20T16:44:50","date_modified":"2024-10-20T22:44:50","date_modified_gmt":"2024-10-20T16:44:50","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf94ce1d7443e410ea4da3074db5d7482J.jpg","name":"Sf94ce1d7443e410ea4da3074db5d7482J.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf94ce1d7443e410ea4da3074db5d7482J-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/Sf94ce1d7443e410ea4da3074db5d7482J-300x300.jpg"},{"id":14154,"date_created":"2024-10-20T22:44:53","date_created_gmt":"2024-10-20T16:44:53","date_modified":"2024-10-20T22:44:53","date_modified_gmt":"2024-10-20T16:44:53","src":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/A9f4187722c704c2db990d779bb7a3cc9n.jpg","name":"A9f4187722c704c2db990d779bb7a3cc9n.jpg","alt":"Cump\u0103r\u0103turile online sunt acum mai u\u0219oare ca niciodat\u0103 pe ShopTastic.ro...","thumbnail":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/A9f4187722c704c2db990d779bb7a3cc9n-150x150.jpg","medium":"https:\/\/www.shoptastic.ro\/wp-content\/uploads\/2024\/10\/A9f4187722c704c2db990d779bb7a3cc9n-300x300.jpg"},{"id":14155,"date_created":"2024-10-

As far as i see the import should work now. But it’s not displaying correctly. am i right or wrong?

and on test mode in thunkable i recieve this.