How to create a client portal using WordPress, Elementor pro? - wordpress

I need to create a client portal which let my clients to see their order status and other progress. We don't sell them online just need to let my customers to see updates in their dashboard and let them to download their invoices and other stuff. I need to add orders and order updates by my staff. so I can't use woocommerce. Please help tell me how to do this.

[what i am about to say is kind of a hack but...] Since what you want is not automation and you have to update every invoice manually, I think you could use acf to create a WYSIWYG field and then create a table inside it (make field condition "User->Add/Edit". Then you can update the field for each user. But keep in mind that because this field is on /profile.php you have to block users from accessing wp-admin.
To show the table in front-end you could use some plugins. Or you could use PHP (if you know how to).
I dont know if there is any plugin for creating invoices but I think you could also use them.

Related

How to show a widget only to customers who bought a product in WooCommerce (with Elementor)?

Here is what I am trying to do - a website with online courses using WooCommerce and Elementor. I want to have a page called "My Courses" where customers can see only the courses they've purchased.
I'm not using any LMS.
I will use the plugin Dynamic Conditions for Elementor to show or hide a widget.
I know that WooCommerce has a function to check if a user has bought a specific product.
I don't know how to make a connection between the two, though. That is my problem.
Dynamic Conditions uses Elementor's dynamic tags system to check against. How can I use the WC's function to check if the user bought the product and only if he/she did, then to show them the widget with the course page?
Thanks a lot for any answers with ideas or directions on how to solve this problem!
Using Dynamic.ooo you can benefit from "Visibility" extention (comes with Dynamic.ooo/ don't need seperate plugin installation) which allows you write your customized conditions (in PHP). I myself have not used the "Custom Condition" becuase I don't know much about PHP, but if you know the function and just need to connect them i think that'll do.

Disable woocommerce product reports

I use woocommerce for another use that sell product and I want to disable woocommerce reports cause I suspect it slow down my website (In Query monitor, the query to update wp_options with _transient_wc_report_sales_by_date take too much time)
Can we disable it ?
Thanks
The Woocommerce reports will be created at runtime. Which means if you click in the administration on "Reports" woocommerce pulls the data from the database and shows them as fancy diagrams.
The option "_transient_wc_report_sales_by_date" works as a cache for the "Sales by date" database query. The cache will be created at the same time as Woocommerce retrieves the data form the database.
If you want to look at the code by yourself you find the "implemention" in the class WC_Admin_Report method get_order_report_data.
In my opinion if you really do not need the reports, then the easiest way would be to remove the whole menue point from the administration. So the database query will not be triggert.

Woocommerce - how to provide upgrades to purchased products

My woocommerce site sells digital products.
When I provide a bugfix or a new version, I would like to give automatic upgrades to existing customers.
It appears that I will need to create an order with the a 100% "discount", so as to enable access and downloading for each customer.
However, I have been unable to find a concrete example on how to create an order programmatically, add products to it, update values and save it as completed - in a correct manner so that all custom hooks and filters are called correctly.
Is there a complete tutorial available anywhere ?
Has someone already done this kind of thing ?

Create WordPress Admins To Create Posts Only Securely

Using WordPress is a great way to learn and make progress on web development. Although, I want to make admins for each and one of my classmates to only and only create and publish posts on the web. For example, BuzzFeed has admins that create content and it tells the author name, date and time, comments and responses next to it. That's what I am aiming for. Not all of my classmates use wordpress or have ever used it so I want to find a way to create admins for them simply without creating security holes for the website itself and risking getting hacks or login attempts.
what is the best way to approach a situation like this?
anyone?
Thanks :)
If you want your classmates to be able to add posts you can add them as "Authors." Wordpress has a build in permission system that allows authors to only add, edit and delete posts.
If you want to have more control over the capabilities you can use a plugin like User Role Editor. This will allow you to create a new role and set specific capabilities for the created user role.

One page wordpress template with subscription option

I'm new to wordpress. I have to create a one page template for my site and show a subscribe textbox on it with my own custom style. Later, I will use it to send monthly newsletters. What can be the simplest way to do that? I saw into some plugins like newsletter, subscribe2, but they are complicated and I don't know how to integrate them with my text box. They just provide some sort of widget to show on sidebar. Any tutorial or simple plugin? Please help!
You basically have three options:
a. Use a web-hosted syndication service as per the below. (Easiest to configure)
b. Install some sort of newsletter sending plugin for WordPress. (More control, but more configuration)
c. Use a web-hosted newsletter service like Constant Contact (Expensive and Ugh.).
Try using Feedburner with email subscriptions -- see: http://howtotechtips.blogspot.com/2008/05/create-feedburner-email-subscription.html. You sign up, supply your RSS feed's address, then copy-paste the resulting code where-ever in your template you like. Then, whenever you write a new post, your subscribers are sent an email.
Subscribe2 complicated?
You can do auto-download/install from the administration area, you literally only have to config a few options.
http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
Maybe it's just me, but the screenshots certainly make the plugin appear to be very straight-forward.
http://wordpress.org/extend/plugins/subscribe2/screenshots/
If you are not heavy with subscription list. Then a good option can be using the MailChimp email subscription with its free option.
You can just install the plugin and place a function called mailchimpSF_signup_form() into your template's right place. And beautify it with your own CSS.
Or in Post or pages' HTML using the shortcode [mailchimpsf_form]
They also have widget to be added dynamically. How to use it?
Create a free account at MailChimp.
Create a list there.
Create an API key there
Go to your MailChimp options page http://yourwordpress.tld/wp-admin/options-general.php?page=mailchimpSF_options
Insert the API key there.
Select the list you want this subscription to be linked to.
There you are!

Resources