HomePage Forums Themeforest Majextic – Auto Parts Store WooCommerce Theme Autoparts filtering redirects to shop page without filtering based the selection

Topic Resolution: Not Resolved
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #11372
    Avatarsockod
    Support Expired

    Hello, I have purchased the majextic theme for wordpress in order to use the homepage4 which includes the parts filtering where is required by the client. The problem is that, even if i create the car and apply a part on it, when I use the filtering selections it redirects me into the shop page without making any filtering and shows all the categories including all products in them. I need to filter the products and to result with the categories and only the products corresponds in the selected part.

    #11384

    I find the filtering and search still work normally: https://prnt.sc/oG68h2KC1sRF

    #11393
    Avatarsockod
    Support Expired
    This reply has been marked as private.
    #11406

    This search filter widget only supports filtering by product attributes, not the entire category.
    You will have to customize the code if you want to filter by product category

    #11415
    Avatarsockod
    Support Expired

    TY

    #11431

    Ok, let me know if you need to help.

    #11446
    Avatarsockod
    Support Expired
    This reply has been marked as private.
    #11449

    We are checking the theme and will update this error in the next few days, please wait

    #11483
    Avatarsockod
    Support Expired
    This reply has been marked as private.
    #11487

    I fixed this issue, please recheck your site.

    #11492
    Avatarsockod
    Support Expired
    This reply has been marked as private.
    #11495
    Avatarsockod
    Support Expired

    I finally came up with a solution, ty for supporting me

    #11498

    Good job!

    Let me know if you need to help.

    #12956
    Avatarsockod
    Support Expired
    This reply has been marked as private.
    #12957
    Avatarsockod
    Support Expired

    The below fixes the elementorModules.frontend is undefined and then the autoparts works as expected..

    function force_elementor_frontend_js_early()
    {
    if (defined(‘ELEMENTOR_VERSION’)) {
    // Check if the user agent is Firefox
    if (strpos($_SERVER[‘HTTP_USER_AGENT’], ‘Firefox’) !== false) {
    wp_deregister_script(‘elementor-frontend’);

    wp_register_script(
    ‘elementor-frontend’,
    ELEMENTOR_ASSETS_URL . ‘js/frontend.min.js’,
    [‘jquery’],
    ELEMENTOR_VERSION,
    true
    );

    wp_enqueue_script(‘elementor-frontend’);
    }
    }
    }
    add_action(‘wp_enqueue_scripts’, ‘force_elementor_frontend_js_early’, 1);

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

You must be logged in to reply to this topic.