How to add woocommerce product price filter widget to other page

admin2025-01-08  6

I had actually customise page ( which totally override by Attribute page template type), And I want this page attche woocommerce widget "Filter product by price"

As I add shortcode: [woocommerce_product_filter_price] (/) and it is not working According to woocommerce doc, this is because woocommerce widget only show in category, shop pages

Does any solution I could retrieve woocommerce widget "Filter product by price" to my customise page ?

Thank you so much

I had actually customise page ( which totally override by Attribute page template type), And I want this page attche woocommerce widget "Filter product by price"

As I add shortcode: [woocommerce_product_filter_price] (https://docs.woocommerce.com/document/woocommerce-product-search/shortcodes/woocommerce_product_filter_price/) and it is not working According to woocommerce doc, this is because woocommerce widget only show in category, shop pages

Does any solution I could retrieve woocommerce widget "Filter product by price" to my customise page ?

Thank you so much

Share Improve this question asked Apr 27, 2020 at 15:58 tess hsutess hsu 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

you can require the price filter template from where ever you want

go inside your woocommerce template folder and copy

plugins/woocommerce/templates/content-widget-price-filter.php

to your yourtheme/woocommerce/content-widget-price-filter.php

and then require it in the your file

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736266557a1130.html

最新回复(0)