Removing '/store/' Default Slug from Custom Vendor URL Creation - php

Have you successfully removed the /store/ default slug on a Woocommerce Wordpress site?
I'm building a multi-vendor site right now and every store page has url of:
domain.com/store/vendor-name
I, and customers, strongly prefer this format, removing the '/store' slug entirely.
domain.com/vendor-name
It looks like this is set by Wordpress by default. I'm using the Dokan plugin but can't seem to find where this URL is created. Any help would be greatly appreciated! I've seen plugins that eliminate the '/category/' or '/product' slugs but nothing for /store/. I'd be happy to manually edit something if need be, but a plugin would be great if possible.

Related

Woocommerce Sorting

A wordpress site that I have Woocommerce on just recently started doing something strange. The product sorting, after choosing a category, does not work. I have been searching around trying to figure out where I can correct this, but nothing I find has really helped.
I am looking for the main file that controls this sorting. I don't know if it would be the wordpress template or the woocommerce files themselves.
Does anyone know what file controls the product sorting? Also would updating Wordpress potentially fix this? I see that I have an update due.
Here is a screenshot for illustration:
Are you using the latest version of WooCommerce?
Are the templates related to WooCommerce are override by the theme?
If you are templates are override by the theme, then may be your theme is loading an outdated WooCommerce template file, which could be the culprit.
Please try to update, if applicable.
I would suggest updating them, if applicable: https://docs.woocommerce.com/document/fix-outdated-templates-woocommerce/.
That should may help in solving the issue.

Polylang is changing my homepage - Wordpress

I just finished my first custom wordpress site, using my custom theme, and now, I was starting to translate the site, I need it to have 3 languages.
So, I installed the plugin Polylang. But, I don't know why, when this plugin is active, my home page that is a custom page (page-home.php) is not being considered the homepage anymore. Since I never used this plugin before and I don't have much knowledge in wordpress, I have no idea how to solve this problem.
Can anyone help me?
I solved the problem. If you are using a custom page as your homepage, you first have to edit it. Just go there and save it, to assign this page to the default language you chose.
After that, you have to go to every page, post, custom post, and taxonomy, and save it using the default language. If you don't do that, the posts or the other contents of that current language will not be shown on the site, cause they have no language associated to it.
Then, you have to create a new version of every content you have on the admin (posts, pages, taxonomies) for the other languages you gonna use.

Use specific theme for WooCommerce store

I have a WordPress website that contains a blog and a WooCommerce store. I want the WooCommerce part to have a specific theme alone (they have their menu). I'm thinking of something like detecting the URL and automatically choosing the best theme.
How can I do this?
Install this plugin https://wordpress.org/plugins/jonradio-multiple-themes/. It lets you use different themes for different pages. Then use the option do detect by URL and set the theme of your liking. Let me know if you need further help.

WooCommerce - where to change 'product-category' path?

WooCommerce product categories have paths such as: http://example.com/product-category/my-category/ .
I understand that in older versions of WooCommerce, you could set the 'product-category' part of the URL by going to WooCommerce > Settings > Pages. However, in the current version of WooCommerce, that option doesn't seem to be available. So where can I find/access the field that holds this info?
(Ultimately, I don't want to change this path, but I want to find out where WooCommerce stores it so that I can manually build some category URLs in the correct manner without hardcoding/guessing the 'product-category' part.)
I know this is old and you probably resolved it.
However if anyone else is looking for this answer.
The option is part of WordPress permalinks you can find them under Settings > permalinks
Hope this helps someone.

Breadcrumbs in Fishpig Magento/Wordpress

I have a Fishpig/Wordpress installation on my magento site. All works nicely apart from when I look at a child category page. For example if you visit:
http://www.kitronik.co.uk/blog/resources/
then click on a category eg E-Textiles:
http://www.kitronik.co.uk/blog/resources/e-textiles-tutorials-resources/
You see that there are no longer breadcrumbs. I can't see why there wouldn't be any for this page?
From looking at your site I can see that you have something custom going on with your breadcrumbs. On the Resources category, by default, the Magento WordPress Integration extension would insert a 'Blog' breadcrumb between the home page and Resources breadcrumb items.
As for the sub-category, the breadcrumbs are pretty much missing completely (other than the home item).
My recommendation would be to check your page/html/breadcrumbs.phtml. If this file is present in your custom theme, trying renaming it to breadcrumbs.phtml.old. This will allow the original breadcrumbs.phtml file to be used from base/default. If this resolves your problem, you know that custom code in your breadcrumbs.phtml was the problem.
Alternatively, do you have a Magento SEO extension installed that modifies your breadcrumbs? If so, you could try disabling this temporarily and seeing whether this resolves the problem.

Categories