admin管理员组文章数量:1318981
Normally, I can filter product by attribute via calling "mysite/shop/?filter_brand=tesla"
However, when I tried to call it as "mysite/brand/tesla" but it doesn't work and show 404 not found.
I keep this setting by default.
How can I call filter it as permalink i.e. "mysite/brand/tesla" ?
Thanks,
Normally, I can filter product by attribute via calling "mysite/shop/?filter_brand=tesla"
However, when I tried to call it as "mysite/brand/tesla" but it doesn't work and show 404 not found.
I keep this setting by default.
How can I call filter it as permalink i.e. "mysite/brand/tesla" ?
Thanks,
Share Improve this question asked Sep 14, 2017 at 17:20 Atthapon Junpun-eakAtthapon Junpun-eak 3992 gold badges4 silver badges15 bronze badges1 Answer
Reset to default 2Go to Attributes > Brand, edit the attribute, then enable the archive (there is an option), and finally re-save permalinks.
If it 404s from then, ensure there is no page or other taxonomy called 'brand' because it will conflict. Test another attribute if unsure.
Thanks
Product attribute permalink doesn't work #16825
本文标签: Woocommerce Product Attribute Permalink doesn39t work
版权声明:本文标题:Woocommerce Product Attribute Permalink doesn't work? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742056104a2418303.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论