Comments on: How to pull products JSON through API in Opencart? https://webocreation.com/pull-products-json-through-api-opencart/ Opencart tips and tricks, OpenCart programmer Tue, 21 Feb 2023 03:51:10 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Burak https://webocreation.com/pull-products-json-through-api-opencart/#comment-67480 Tue, 03 Jan 2023 17:23:39 +0000 https://webocreation.com/blog/?p=5497#comment-67480 Hello Rupak, I installed the Opencart system locally and I need the product to add API to add products to this system, can you help me, please?

]]>
By: Questions https://webocreation.com/pull-products-json-through-api-opencart/#comment-46691 Sun, 08 Aug 2021 17:50:56 +0000 https://webocreation.com/blog/?p=5497#comment-46691 Hello, I really like your tutorials. But I can’t find the one which would help me to connect my Opencart website with the Google Merchandising platform so using API configuration I can make products sync from my website with the Merchant Center. Can you please make this one? I’d really appreciate it.

]]>
By: Xuala https://webocreation.com/pull-products-json-through-api-opencart/#comment-33780 Sat, 07 Nov 2020 06:05:56 +0000 https://webocreation.com/blog/?p=5497#comment-33780 Great tutorial. Just wanted to know if you’ve added more opencart api tutorials lately as I am able to find only 3 for now.

]]>
By: Nazar Abbas https://webocreation.com/pull-products-json-through-api-opencart/#comment-33384 Sat, 20 Jun 2020 11:42:30 +0000 https://webocreation.com/blog/?p=5497#comment-33384 HI
Dear my question is that how we can add order through api in opencart using postman

]]>
By: OC2020 https://webocreation.com/pull-products-json-through-api-opencart/#comment-33342 Sun, 24 May 2020 20:55:33 +0000 https://webocreation.com/blog/?p=5497#comment-33342 Hello Rupak, nice tutorial! wondering how can we query other general info about products or categories? for example, how can we get a list of categories and their product list, or how can we get all the product images? i’m interested in learning where do you find the right variable/method to call a particular data. thanks!

]]>
By: Đạo https://webocreation.com/pull-products-json-through-api-opencart/#comment-33152 Mon, 16 Mar 2020 07:43:12 +0000 https://webocreation.com/blog/?p=5497#comment-33152 Great Rupak. Thanks for your sharing. I’m from Vietnam <3

]]>
By: Mahendra https://webocreation.com/pull-products-json-through-api-opencart/#comment-32596 Tue, 11 Feb 2020 02:19:46 +0000 https://webocreation.com/blog/?p=5497#comment-32596 Can We put username and password restriction while accessing api, and how can we get the additional images listing

]]>
By: Oğuzhan https://webocreation.com/pull-products-json-through-api-opencart/#comment-30692 Mon, 02 Dec 2019 03:29:26 +0000 https://webocreation.com/blog/?p=5497#comment-30692 In reply to Rupak Nepali.

Thank you very much Mr Rupak. You are a angel.

]]>
By: Rupak Nepali https://webocreation.com/pull-products-json-through-api-opencart/#comment-30681 Sun, 01 Dec 2019 21:41:28 +0000 https://webocreation.com/blog/?p=5497#comment-30681 In reply to Oğuzhan.

In the requesting server, you need to use XML load and convert it into JSON, which you can do something like below:

$xml = simplexml_load_string($xml_string);
$json = json_encode($xml);
$array = json_decode($json,TRUE);

Then convert that JSON to your required output by filtering it out.

]]>
By: Oğuzhan https://webocreation.com/pull-products-json-through-api-opencart/#comment-30679 Sun, 01 Dec 2019 21:20:37 +0000 https://webocreation.com/blog/?p=5497#comment-30679 Hi Mr. Rupak. Can i use this script for XML data?

]]>