Hi,
I use Opencart 1.5.6.4. I would like to create a feed url that show the total number of orders on my store.
For example:
www.mystore.com/totalfeed
And the result show is in json format:
{"number":5226}
How can I create this feed?
Thanks,
Szilard
I use Opencart 1.5.6.4. I would like to create a feed url that show the total number of orders on my store.
For example:
www.mystore.com/totalfeed
And the result show is in json format:
{"number":5226}
How can I create this feed?
Thanks,
Szilard
Your route information is quite vague. What would be the original route name where the feed would be targeted to in order for JSON to return the results from Ajax and from which TPL filename and folder would the query originate from?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
So, I think, we can use the default Opencart routing for this, not need custom URL.
I'd rather describe what I need. I'd like to buy a device, that shows the number of purchases in real time. This is it: http://www.smiirl.com/en/counter/custom#5D
And for this syncronisation, this device need to get data from a link in my store in json format. For example: http://api.smiirl.com/number
I want to syncronise the total number of orders.
Thanks,
Szilard
I'd rather describe what I need. I'd like to buy a device, that shows the number of purchases in real time. This is it: http://www.smiirl.com/en/counter/custom#5D
And for this syncronisation, this device need to get data from a link in my store in json format. For example: http://api.smiirl.com/number
I want to syncronise the total number of orders.
Thanks,
Szilard
You will have to provide more accurate information in order to obtain solutions to your inquiry.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
OK. I try to write this:
I need a little code, vqmod or php modification, that create a link with the following information:
I want to get back only this:
{"number": total number of orders in my store}
Of course, if there are a freelancer or other Opencart developer, I waiting an offer for this little work.
Thanks,
Szilard
I need a little code, vqmod or php modification, that create a link with the following information:
I want to get back only this:
{"number": total number of orders in my store}
Of course, if there are a freelancer or other Opencart developer, I waiting an offer for this little work.
Thanks,
Szilard
PM sent.Of course, if there are a freelancer or other Opencart developer, I waiting an offer for this little work.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I was actually asking over PM if you could provide your project so to see more in details what you are trying to achieve due to the limited information you provided above.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: Google [Bot] and 170 guests