Woocommerce account page shortcodes - wordpress

Does Woocommerce have shortcodes for each account page so that you have the pages separate from the menu?
Hiding the navigation is unfortunately not an option

[woocommerce_my_account] -> account page
[woocommerce_order_tracking] -> Lets a user see the status of an order by entering their order details.
these two shortcodes for account page
another pages doesn't have shortcodes but have filter to change or add somthings to page.

Related

Change default Woocommerce Login and Register Page to Custom Elementor Page

I have a page created using Elementor that I can use for Login and Register but it does not replace the default Woocommerce Login/Register Page when I click on endpoints that require me to login, for e.g. - Orders, Downloads, Wishlist, etc. Is there anyway I can replace the default form with the one in Elementor?
Login and register, as well as order history is located on MyAccount page in woocommerce.
Just create your new replacement layout for myaccount page, and don't forget to go to Woocommerce -> Settings -> Advance. In page setup section set with MyAccount page that you just created with the elementor builder.
That should change the default login page to your new elementor page now
For the login requirement page, you can refer to the answer given by #byarnoldus above. For the password recovery page, you can refer to another thread "WooCommerce lost password form on another page". Look for the answer given by #Polar. He/she gave a step-by-step solution which you might find very helpful. I've tested it with my issue and the result is fantastic.
Hope this helps.

Stay on shop page when add to cart

I'm using elementor pro, woocommerce, ocean wp theme and the elementor custom skin add-on.
I want to build an ecommerce website without products pages but only a shop page, in order to have all my products on the shop page with add to cart button and a quantity selector.
For that, I used the loop system and it works quite well.
I only have 1 issue : when you add a product to the cart, it automaticaly redirects you to the product page.
I don't want to use the products pages. I would like to disable them.
I want customers to stay on the shop page for further shopping. Only access to cart page or checkout page when they click on the add to cart menu.
If it's possible to do that without coding it's best, otherwise, please tell me how to do if you can :)
thank you!
This issue can be fixed if you click on the tick mark named as " Redirect to the cart page after successful addition". You will find it in Woocommerce > Settings > General.
This will help customers to go to the cart page after they add something to the cart. But I don't know how to redirect customers to the shop page after they add to cart something. I am also asking for that help.
See the screenshot:

Woocommerce - Empty product list on homepage

I am trying to set my shop page as a homepage for site. It's an easy action in wp-admin. The problem that I am getting message No products were found matching your request.
At the same time everything OK on shopPage.
I've tried to play with visibility, categories, attributes but still can't customize them properly. I believe, there should be some settings I've missed.
Homepage set to shop page - http://52.58.27.104/
Usual shop page - http://52.58.27.104/shop
Edit
Setting->Reading
WooCommerce->Settings->Products
Settings->Permalinks
Usually to change the page that shows as default you should login to the admin panel then go to Settings -> Reading -> Static Page and from there pick your site. If that's the way you did it then that will remove the extension off your page like the www.site.com/shop will be www.site.com which now means woocomerce is trying to find a /shop section. You have to change the woocomerce section to select the new page that the items are located. Either one by one or through the woocomerce general settings.
Hope that helps

Hide Elementor page edit from client

I am a elementor pro customer.
My goal is to hide elementor from my client.
So i used role manager offered by elementor and hide the user role to edit the page as follows:
https://www.dropbox.com/s/4toahzxnkchi2dm/Screenshot%202019-12-07%2013.48.30.png?dl=0
What happens with the role manager hide is that the user cannot even see the html side of the page.
How can i hide the elementor from the client and let him edit the html version of the page?
Alternatively, I want to skip the role editor functionality of elementor and just find a way to remove the button "Edit with elementor" from pages.
Few places where it appears are
Page: https://www.dropbox.com/s/owwr41cl9gpep15/Screenshot%202019-12-07%2013.58.13.png?dl=0
In front of the page name:
https://www.dropbox.com/s/89zqq59a2ett2kf/Screenshot%202019-12-07%2013.58.57.png?dl=0
In the meta of page: https://www.dropbox.com/s/mrjdr4jj9um037m/Screenshot%202019-12-07%2013.59.18.png?dl=0
Which user role you assigned to your client?

How to create dynamic page in wordpress and hide from menu

I have a wordpress plugin and i want to create a dynamic page when the user activates the plugin. Page creation is already done. But i want to hide it from the pages menu. No matter how wordpress is configured i want to hide the page.
Page can be only accessed using the url.
Can anyone provide me a solution for this.
You can do it by assign a different value to post_type like dy_page
for more info see: Post_type and How to use Custom Post Types in WordPress 3.0

Resources