Home Forums WoodMart support forum custom content in wd-active-filters

custom content in wd-active-filters

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #324039

    loralora
    Participant

    Hi I’m using a third party ajax filter plugin.
    Please tell me, I need to insert my domain with the selected filters in the field where your filters are located. wd-active-filters woodmart-active-filters

    What function is responsible for this?
    I will contact the developer of the plugin and ask him for the code to insert.

    #324114

    loralora
    Participant

    Hi

    Plugin: Advanced AJAX Product Filters for WooCommerce
    There is a theme conflict with the plugin.
    The plugin has three options for displaying “selected filters”.
    1. WooCommerce Description (in header)
    2. WooCommerce before Shop Loop
    3. WooCommerce after Shop Loop

    In the theme of the storefront, the display takes place without problems, especially note that if the category has a description, then the “selected filters” are displayed normally.

    But in the theme voodmart “the selected filters in options 1 and 2 are displayed incorrectly.
    1. WooCommerce Description (in the header) – filters are displayed above the content of the html shortcode (or any other content)
    2. WooCommerce in front of Shop Loop – filters are displayed quite crooked.

    Could you check this with yourself and the possibility to eliminate / or suggest how this can be corrected?

    I need display options 1 and 2.
    Below I give you the administrator rights for the test site and attach a video. Notice the 2:40 minute video.

    #324296

    Hello,

    Sorry for keeping you waiting.

    You say the styles are wrong, the styles on the default theme are the same:

    https://take.ms/vvM0e
    https://take.ms/dpFyR

    Please add this code to the functions.php of the child theme:

    add_action( 'wp', function(){
    	if ( ! class_exists( 'BeRocket_AAPF' ) ) {
    		return;
    	}
    	$BeRocket_AAPF = BeRocket_AAPF::getInstance();
    
    	remove_action ( 'woocommerce_before_shop_loop', array($BeRocket_AAPF, 'selected_area'), 1 );
    	add_action ( 'woocommerce_archive_description', array($BeRocket_AAPF, 'selected_area'), 30 );
    } );

    If you have any questions please feel free to contact us.

    Best Regards

    #324394

    loralora
    Participant

    thanks it works
    I have no further questions on this topic
    best support!

    #324437

    We are always happy to help you, write to us when you have any difficulties or issues with our theme.

    We would be grateful for 5 stars rate on http://themeforest.net/downloads in case you are satisfied with our theme and customer service

    Thank you in advance

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘custom content in wd-active-filters’ is closed to new replies.