Woocommerce permalink - woocommerce

The issue is on Woocommerce permalink. I have added 7 menus to my woocomerce website, of which 5 of them contains the products, the others are HOME and CART. The problem is, I ain't aware of the permalink concept. Though, I tried to link my products to the respective page by changing permalink as
Custom Structure : http://example.org/%product_cat%/
Category base : products
and it works fine for the 5 products in the menu, but the problem occurs with my CART menu.
When I click it shows
"Page not found! Something has gone wrong. Sorry about that!"
I tried with Woocommerce settings, where I couldn't find any option to resolve this.

Hi try to go to Woocommerce setting and then on Checkout tab set the Cart page to your designated Cart Page that you created. (Same goes as your checkout page). Or try to go to permalink and save again.

What is the link that shows in the browser when you get the "Page not found" error?
If you go to Woocommerce Settings > Checkout, you will see a section called Checkout Pages. Make sure you set your cart and checkout pages to the correct page and save it. If that does not fix your issue, go to Settings > Permalinks and click save. Test again.
You also want to make sure you update your theme and plugins. If none of these options work, please send the url that shows when you get the "page not found" error.

The best way is to use a special plugin as well as you can save time and quickly manage URL’s on your WooCommerce store.
In my opinion, the best plugin for managing links to the WooCommerce platform is the WooCommerce Permalink Manager by Premmerce that allows you to configure URL generation strategy for your store. I used almost all similar plugins, but I can confidently say that it’s the best solution in this area. This plugin is completely free and has a friendly interface. So you can use this tool without any skill.
I hope It will help to you!

Related

Cannot create Elementor Posts page in Wordpress although I have selected in Reading page

I want to use my Posts page with Elementor modules.
I have done my Homepage like that
but cannot do the same with Posts page.
I have created an empty page,
added some modules.
And selected this page as Posts page in Reading page.
But when I click a page on my website,
my Elementor Posts page is not seen,
the default Wordpress page is seen.
Update :
I'm using Neve theme on Wordpress v5.8
My website address is Tubefavorites.com
My homepage with Elementor and posts page with default Wordpress has different fonts
and my homepage and posts page's components are in different order.
(In homepage its Tags, Categories, ...
In my posts page its Tags, Last Posts, ...
I'm working online in browser (its not local).
There is no error on Chrome Console.
Update end.
Currently I'm trying this in Turkish pages.
I will make the English Elementor page after I fix this.
How can I fix this?
Thanks
Do you have Elementor enabled for post?
Thus, if I understood correctly, you have created a page post and want to add it as homepage. You should go to settings - reading and select via dropdown the page you have created! Then, you will see your page as homepage and not the default one
There is also an explanation in support forum, that someone has the same problem. Please read below:
"Looks like you’re trying to edit your Posts page that has been assigned in your WordPress Reading settings (Settings > Reading). If this is the case, you may not be able to edit the assigned Posts page directly with Elementor (Basic version).
You can try deselecting the page (in the “Posts Page” box within your Reading settings) then try editing this page with Elementor"
link to the source: https://wordpress.org/support/topic/cannot-load-posts-page-with-elementor/
Thus, disable your page through Settings - Reading, edit/modify (whatever you want) your Post page. After that, you could add your page blog posts URL to the meny item (or use this URL to wherever is nessecary)
EDITED
What plugin are you using for the translations?
I saw your homepage playing correct, right? Thus, you have selected your custom page correctly, through the Settings - Reading.
Now, if you want to see the same results in Turkish, you need to translate your home page too! So, add the translation in turkish language too, or duplicate the english version for turkish one and it will play!
UPDATED
I think there is an issue with the blog page (and single post template, as I am reading in WP forum for this theme). Try to check inside Appearence -> Customize, if there is any options there, thus could change the blog template. Somehow the theme overwrites your options. Furthermore, take a look at the blog theme's doc here:
https://docs.themeisle.com/article/1306-neve-blog-archive-options
I have learned that, I have to use Templates page, in Elementor Pro.
I didn't have been selected it.
Thanks to Hakkı Uçar for this
and for installing and for helping.

How do I find the parent URL on a webpage (Wordpress)

I am working on a website for a company right now and I am running into this issue:
The original URL is similar to this: mysite.com/industrial/ where industrial has 4 subcategories which each have 2-6 pages within them. I changed the original URL to mysite.com/products/ but the subcategories and pages within are not changing to include products in their URL - they still use industrial.
For ex.: mysite.com/industrial/abc/ should be mysite.com/products/abc/ but it stays as mysite.com/industrial/abc/ after I made my change.
I assume that the subcategories are in a folder called industrial (I did not create this website so I do not know), however I can't find that folder anywhere and I'm not sure where to look. I have tried to go in to each of the subcategories and change their URLs, but I can only edit the abc part of the URL and I can't touch the rest.
** This was all done on Wordpress with a custom theme created by another company. Thank you in advance for any help you can offer!
EDIT: For anyone who is also struggling this problem this is how I solved it:
Go to Plugins -> Plugin Editor
At the top there was an option called "Select plugin to edit" -> chose the one that is custom to your website
I found the information that was suggested by Phil in the comment section on this website
I updated the names of my fields in the rewrite permastruct section for register_post_type as well as register_taxonomy
Update the page and flush your permalinks and you should be good to go!
Check what is the defined slug when registering the custom post type.
Whenever a new Custom Post is added through a plugin or them, then the permalinks needs to be flushed.
In the WordPress admin area, go to “Settings > Permalinks”. Click “Save Changes”. The permalinks and rewrite rules are now flushed.

Woo-commerce - Add Product - Listing Page - Design not showing properly - Wordpress

Please check the attached image. I am getting broken add product page and listing design page in Wordpress - Woocommerce. I am not able to enter the title. Because after Add product page fully load. it hides the title textbox. Another issue in the Product List Page. The image column and name column are overlaying.
Please suggest me to resolve this problem.
Thank you.
It doesn't seems you are using a woocommerce plugin to add the products. I can guess that you build this by making a custom post type functionality. Because normally, woocommerce has it's own icon for the post type as well as for product post type.
Please check with the plugin compatibles.
I deactivated all plugins except Woo-commerce plugin and activated plugin one by one. I found that one plugin causes the issue. It's Works

Blank/empty pages Cart and Checkout

We’re just getting started with WooCommerce and are preparing a store with just a few categories and products in it to play around with it and get to know it before we get seriously into it.
We don’t yet have an SSL certificate for our website.
Does this mean that we won’t be able to create a store and test it until we get an SSL certificate?
As is, we’re seeing blank pages when we go to cart and try to go to checkout. On those pages, our header is there, but the page below the header is empty, blank.
I posted this same question in an existing thread that mentioned this, but haven’t had a reply. Thought maybe it might be missed in that other thread.
maybe, can you see do code shablon this page?
Thank you.
I came across this issue while writing a custom WooCommerce theme from scratch. I realized that if your theme has a page.php template (or any of the fall-back templates in the WP hierarchy) - you need to make sure, that the_content(); function gets called in the template that your page post-type is going to use (either page.php, singular.php or index.php) - if you are using the standard WooCommerce setup.
If not, the WooCommerce short-codes are simply never output - which the cart, checkout, my-account and order-tracking pages depend on.
Make sure to enter the [woocommerce_cart] shortcode in the Cart page and [woocommerce_checkout] shortcode on the checkout page.
And Goto Woocommerce settings and set the Cart Page, Checkout page.
This should solve the issue.
Meanwhile, check the Woocommerce -> System Status and look for errors.
If you are using any page builder, make sure you enter the Shortcodes in the text box modules.
If you still face the issue, try reverting back to Gutenburg editor or classic editor instead of Page builder.
How to debug:
wordpress.org/support/topic/how-to-debug-issues-after-updates
Perhaps it would be easier to find what is causing the conflict. Try temporarily switching back to the WordPress Twenty Sixteen Theme, or Storefront, and disable all plugins except for WooCommerce. If that resolves the issue, then slowly re-enable features until you find the one that’s causing the conflict

Product links redirect to wrong single product url on woo-commerce

I am using Woo-commerce for an E-Commerce site. All was going right. But now i am facing a serious problem with product url. When someone click on product thumbnail from product list page he/she is redirecting to wrong single product page. This problem is not for all products. But mos of the products are behaving like this.
I searched the solution on google for this, but I didn't found anything.
Can anyone please help me on this. I think this problem is running just after the new update of Woo-Commerce. Below is my E-Commerce site link.
https://www.pet.com.bd/cat-food/
Thanks.
Your site seems to be working fine on my end.
You can try the following:
Deactivate plugins to see if that causes the redirection
Try to change your permalinks to default and then back to pretty links
Relist the product (delete and remake)
Check your htaccess file (some plugins might edit this and cause errors)
Good luck!
Find the product or page that is displayed instead of the correct product. Go to that page or product and change the slug.

Resources