Home › Forums › WoodMart support forum › Remove shop page from wordpress
Remove shop page from wordpress
- This topic has 15 replies, 2 voices, and was last updated 7 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 7, 2024 at 10:31 pm #595954
av_admin_1984ParticipantHi
I want to remove /shop/ page from my site.1- in wordpress Reading Settings, I select the shop page for home (01.png)
2- in woocommerce settings -> products -> Shop page, I chose shop (02.png)
3- with this, I crate shop page template https://xtemos.com/docs-topic/shop-page-builder/When I choose a brand name, it won’t work at all…
example.com/?filter_brand=sony
it shows nothingWhat do I want to achieve?
removing the shop page, is important to me for clearing the url generated by filters like brands, and the shop page is not useful because we can create a custom layout for each category and tag or filter, so why do we need a shop page?I want to remove it permanently
would you please tell me what should I do?Attachments:
You must be logged in to view attached files.September 9, 2024 at 11:21 am #596099
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
September 9, 2024 at 7:38 pm #596271
av_admin_1984ParticipantHello
1- If I enable each of the Layouts, the shop will not work!Please don’t share anything here, just put video or image in wordpress gallery
2- from cPanel, enable code from this page:https://xtemos.com/forums/topic/return-status-code-403-forbidden-for-maintenance-mode/ it will return an error!
-
This reply was modified 7 months, 3 weeks ago by
av_admin_1984.
Attachments:
You must be logged in to view attached files.September 10, 2024 at 11:21 am #596374
Aizaz Imtiaz AwanKeymasterHello,
Your custom layout for the shop is your shop page. Custom Layouts override the functionality of functional pages. You can create a custom layout for specific conditions such as a shop page, Product categories, etc. These layouts override the functional woocommerce layout.
You can disable the custom layout for the shop page and disable the shop page and create a custom page as a home page.
Best Regards
September 10, 2024 at 1:05 pm #596412
av_admin_1984ParticipantHi
Would you please do that for me this time to understand what you mean?September 10, 2024 at 3:44 pm #596451
Aizaz Imtiaz AwanKeymasterHello,
Go to WooCommerce > Settings > Products.
Under the Shop Page setting, select ” > Select a Page > ” to leave it blank. This will disable the default shop page functionality.Go to Layouts > Add New and create a new layout for your homepage. You can name it whatever you prefer, like “Home” or any other title.
Design this page with your preferred layout using Elementor. This will replace the shop page.
You can disable the custom layout for the shop page and disable the shop page and create a custom page as a home page.
Best Regards
September 18, 2024 at 12:23 am #598103
av_admin_1984ParticipantHi
Go to Layouts > Add New and create a new layout for your homepage. You can name it whatever you prefer, like “Home” or any other title.
What about the Conditions?
What about Layout type?Attachments:
You must be logged in to view attached files.September 18, 2024 at 10:40 am #598206
Aizaz Imtiaz AwanKeymasterHello,
Try to create a custom page for the home page. Use the page builder to create your custom layout for this page. You can include filters, categories, products, or any other content you need on this custom page. Then, You can Set the Custom Page as Your Homepage.
Best Regards
September 18, 2024 at 11:27 pm #598408
av_admin_1984ParticipantI don’t understand
Please create a small video, and share it
we are discussing over 10 days
I don’t have time for playSeptember 19, 2024 at 10:37 am #598520
Aizaz Imtiaz AwanKeymasterHello,
Please see this video for a better understanding:
https://uploadnow.io/f/7C1QwfyBest Regards
September 23, 2024 at 1:26 pm #599361
av_admin_1984ParticipantHi
I saw that video and thanks for creating that
We have many custom layouts and we use presets in our site,
I want to remove shop page because is not useful,Why should I have to disable all custom layouts?
September 23, 2024 at 3:52 pm #599436
Aizaz Imtiaz AwanKeymasterHello,
Your custom layout for the shop is your shop page. Custom Layouts override the functionality of functional woocommerce pages. These layouts override the functional woocommerce layout.
Best Regards
September 23, 2024 at 7:41 pm #599510
av_admin_1984ParticipantDear Aizaz Imtiaz Awan,
I hope this message finds you well. I am writing with some frustration regarding the ongoing issues I’ve faced with your theme. I can’t help but wonder if I’m being taken seriously here.
I do not wish to keep a particular page, specifically the store page, but I’m now in a position where I may have to disable multiple sections of your theme just to achieve this. If that’s the case, I might as well switch to WooCommerce’s default theme. This seems like an unnecessary and frustrating challenge.
I kindly request a proper, professional solution to this issue. I’ve invested a great deal of time and effort designing individual pages for each category, brand, and filter. It feels as though my hard work is being undermined simply because I want to remove a single page. Is it reasonable to expect me to disrupt my entire website structure over this?
I must ask, have you ever taken on a support issue and delivered a solution? In my experience, I’ve received vague responses that offer no real resolution.
You yourselves stated that if an issue is template-related and does not occur with standard WordPress and WooCommerce themes like Storefront, you would resolve it. I’ve mentioned two plugins that I needed support for, but your response was that the issue doesn’t concern the Woodmart theme and falls outside your scope of support.
When I raised a concern about SEO logic, you replied that development for that is not part of your current plans and cannot be implemented. While I do appreciate the few features you’ve kindly added in the past, I’m now facing the prospect of dismantling the entire structure of my site just to remove a page. Is that really a fair solution?
I would greatly appreciate it if you could provide a more suitable and feasible response to this situation.
Best regards,
September 24, 2024 at 11:44 am #599638
Aizaz Imtiaz AwanKeymasterHello,
Try to add the following code in the function.php of the child theme.
function woocommerce_disable_shop_page() { global $post; if (is_shop()): global $wp_query; $wp_query->set_404(); status_header(404); endif; } add_action( 'wp', 'woocommerce_disable_shop_page' );
Best Regards
September 29, 2024 at 10:03 pm #601116
av_admin_1984ParticipantHi
Fine, now please tell me why when I used the home page with query string, it shows all the blog posts? for example this url
https://mysite.com/?filter_brand=microsoft
in Storefront and Twenty Twenty-Four, this query parameter work correctly
I want to remove the /shop/ page and use the query parameters in home page, not showing the blog posts
-
This reply was modified 7 months ago by
av_admin_1984.
-
This reply was modified 7 months ago by
av_admin_1984.
September 30, 2024 at 2:13 pm #601338
Aizaz Imtiaz AwanKeymasterHello,
Sorry, I think you misunderstood the issue and my point. You can not open the shop archive or any brand pages by using the filter URL without a shop: https://mysite.com/?filter_brand=microsoft Because these filters which you have added in the shop sidebar from the widgets section is only works on the shop pages or category archive pages, not on the other pages.
If you remove the shop page or do not select the shop page from the Woocommerce settings then these URLs will not work and redirect you the blog archive page because blog archive pages are the WP default archive page to load.
You can test the same filter URL with the WP default theme or Store front theme it will work the same, load the blog archive page so there is no issue in the theme it is the default functionality of the widgets.
I hope now you can understand it.
Best Regards.
-
This reply was modified 7 months, 3 weeks ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register