I am working on a mini e-commerce mobile app for a pharmacy. What I need is:
Register through the mobile app and using the Wordpress registration
utility. The registration process will include sending the profile
avatar and optionally an insurance identity image as a base 64
encoded from the mobile app. The images should be converted, stored
on an wp-content/upload folder, and their URL stored as user meta.
Login using the Wordpress credentials.
Insert/Update/Delete/View a product with its data.
Insert/Update/Delete/View a shopping cart (per user).
Insert/Update/Delete/View all orders (all and per user).
I am very new to Wordpress. I have to use Wordpress as there is already a Wordpress site for the pharmacy and we need to make something to plug it in with the existed website easily.
I found those plugins which helped me getting most of the job done JSON API, JSON API Auth, JSON API User, and CoCart. Also I had to turn on the REST API at WooCommerce-> Settings-> Advanced tab
Related
I have a WordPress website that shows listing of some properties(Ad space) I don't have any idea how WordPress work i want to show that listing in my flutter app, how can I find that API which shows data in WordPress web
Wordpress web Theme using rental hive theme and I also see some plugins in wordpress like json api & JWT Auth
I use Laragon with WordPress to develop locally and then move my websites to Bluehost. I wanted to have a Subscribe button on a blog page so people can get notified of new blog posts. I signed up for MailChimp and used free version which generated for me HTML form embed. I placed that HTML in my index.php which handles blog posts.
Question: I am able to subscribe with new email addresses and see those in the Audience Contacts list in MailChimp dashboard but when I created a test post I don't get any notification emails about new content. Does it have to do with Laragon as this is local environment or some WordPress settings or it just on MailChimp level?
First, I am a Wordpress Noob. My company builds custom data dashboards. Our client wants to integrate our dashboard into Wordpress. They use plugins, mainly Gravity forms and WooCommerce, from which the dashboard needs to retrieve data.
The dashboard will be build as a custom page (HTML/JS/CSS) and we plan to served it as a Wordpress static item (like: https://qodeinteractive.com/magazine/add-custom-html-page-to-wordpress/).
Ideally, it would work like this:
the clients' user logs in into Wordpress.
Within the Wordpress environment the user can click a button to open our dashboard.
The dashboard fetches the data from Wordpress / a Wordpress API and displays it.
The complexity starts with the last step, how can we access the data from Wordpress/Gravity forms/WooCommerce. I would prefer it, if the user does not have to login separately into our dashboard, but that the credentials provided in Wordpress can be used.
There are API's available for Wordpress/Ggravity forms/WooCommerce, but I am unsure about the authentication part.
I found something about cookie authentication (https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/#cookie-authentication), but I am not sure if this would work or how this works. The information is related to PHP, while we will be using HTML/JS.
Are there other options available?
I know it is a broad question, but I hope to get some pointers to how to deal with this.
I have a wordpress website who publish articles, i want to automacaly send a selection of articles to users in their facebook messenger
I saw a website that do that, and I want to do same
Thank you
Maybe there is a Wordpress Plugin for that, but I would do it like so:
Creating a cronjob and executing a php file once a day. (How this works in WP: https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/wordpress2/configuring-a-cron-job-for-wordpress)
This file is getting all the new posts (or maybe posts with a specific WP Tag or whatever you want to send to your users) from the WP API.
Then, in this file, you connect to the Facebook Send API https://developers.facebook.com/docs/messenger-platform/reference/send-api/ and send this posts to your users. Read the API docs for how that actually works
I have a Simple PHP Website at www.example.com and I have a wordpress blog at www.example.com/blog/ and both of them have user login pages. I would like the user to logged into the wordpress blog as well when the user logs in using www.example.com login.
Please help
The proper way of doing it is
Create a wordpress plugin
Use the plugin to listen for the wordpress engine initiation
On initiation check for the user session in the browser or in your external application
If a user session is found (assuming your usernames and emails are unique for both systems, so that a single registration is allowed with it) check for a wordpress user with matching username or email
If a wpuser is found, set the current user as that
If no user is found create a new wordpress user and set him as the current user
There are neat API's available for doing this in wordpress. We have used it to integrate wordpress with many external websites, CMS and Social networking sites like Elgg.
You should have a look at the bbPress Integration plugin that does the same thing to integrate WordPress and BBPress forums.
Basically you will simply need to create some cookies on the user browser crypted with the appropriate secret keys.