Hi,
I want to set a custom layout for my account woocommerce page but I had a few issues.
I created a WooCommerce Single and assigned to Account is being viewed and set a custom template (the account one) which has Title and The Content below (the preview doesn’t work). Then on my woocommerce account page I can correctly see the WC single layout but the content is blank, even if I change page like /my-account/orders (I aspect to see the default orders list). Are there some other settings to do set?
Thanks
Hello @anedalux,
Thanks for writing to us.
You can create a custom design for the My Account page using the layout builder. When you build a WooCommerce single layout for the My Account page, simply include the “The Title & The Content” element. This element automatically displays the page title and the main content of the My Account page. By default, the My Account page uses the [woocommerce_my_account]
shortcode. This shortcode dynamically displays information such as Dashboard, Orders, Downloads, Addresses, Account details, and Log out
options when a user is logged in. If the user is logged out, it will show the Login and Registration forms instead.
With the layout builder, you have the flexibility to design the My Account page exactly as you like. You can use the available elements to create a unique layout while still retaining all the standard WooCommerce My Account features.
Hope it helps
Thanks
Hello Prakash,
Thank you I just missed the shortcode inside the page. May I ask another question? I need to hide and show the header and footer in My Account page if the user is logged in or not (I need to show them if the login is showing rather than the my account content and viceversa), I put the condition in this image
But the header is still showing in the My Account page, how can I achieve this?
Thank you
Hello Andrea,
You should use OR logic. Your conditions would be:
Entire Site
OR
Account is not being viewed
Kindly let us know how it goes.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.