• Resolved Kaizur Ahmed

    (@kaizur-ahmed)


    Hi,
    I developed a custom own Woocommerce WordPress theme. My problem is with the the Filter by price widget. I have added it to my custom sidebar in Shop page. But, not showing the range slider.

    Some fields are showing:

    Filter by price store (widget title)
    Filter (button)
    Price: £20 — £90 (min-max value, just text)

    Finally, I set up a new WP. There is no plugin except Woocommerce. And activate twenty twenty theme. But the same result. Al last I activated the storefront theme. But the same output.

    Can you assist me, Please?

Viewing 4 replies - 1 through 4 (of 4 total)
  • AJ a11n

    (@amandasjackson)

    Hi @kaizur-ahmed

    I have tested with only WooCommerce core and the Storefront theme and I cannot reproduce the issue of the Filter by Price not displaying correctly. As you can see here:


    Link to image: https://d.pr/i/p51DsM

    It sounds like when you were testing there may have been other plugins of customizations still present if it did not work correctly.

    I’d recommend testing on a clean install to see if it works correctly for you with only WooCommerce and a default theme active.

    Thread Starter Kaizur Ahmed

    (@kaizur-ahmed)

    Hi Amanda,
    Thanks for your reply. Yes, now filter working. The problem was widget area creating.

    • This reply was modified 3 years, 7 months ago by Kaizur Ahmed.
    AJ a11n

    (@amandasjackson)

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

    Thread Starter Kaizur Ahmed

    (@kaizur-ahmed)

    Hi Amanda,
    Can you tell me what’s the problem with this code?

    
    function wholesale_widgets_init() {
    	register_sidebar( array(
    		'name'          => __( 'Sidebar', 'wholesale' ),
    		'id'          => 'sidebar-1',
    		'description'   => __( 'Sidebar that appears on the Sidebar for Filter By Price.', 'wholesale' ),
    		'before_widget' => '',
    		'after_widget'  => '',
    		'before_title'  => '',
    		'after_title'   => '',
    	) );
    }
    
    add_action( 'widgets_init', 'wholesale_widgets_init' );

    Price Filter did not show properly when I want to show with this sidebar area (<?php dynamic_sidebar('sidebar-1')?>) . But, I created a widget area by WooSidebars plugin. And the filter showed properly by this widget area which is created by this plugin. Strange!!!

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce Default Price Filter Widget – No slide, only text field and button’ is closed to new replies.