Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro WooCommerce+WPML

Tagged: 

Viewing 10 posts - 1 through 10 (of 24 total)
  • Natty Srls
    #266231

    Hi,

    I was using your plugin to search WC products and it was working fine until I installed WPML.
    Default language is IT, second language is EN.
    I have create a searchform form also for the EN version, the code I am using is

    
    if (ICL_LANGUAGE_CODE =='it') { $formcode = 4761; } 	
    elseif (ICL_LANGUAGE_CODE =='en') { $formcode = 5427; }
    
    if ( is_shop() || is_product_category() ) { echo do_shortcode( '[searchandfilter id="'.$formcode.'"]' ); }
    if ( is_shop() ) { do_action("search_filter_query_posts", $formcode); }  
    

    The shop has 14 products with size variations, and if in the IT version works fine (I see 14 items), in the EN shows all the variations.
    If I disable Search & Filter Pro then it works fine again.

    Please help me to solve this problem.

    Thank you.

    Trevor Moderator
    #266273
    This reply has been marked as private.
    Natty Srls
    #266289
    This reply has been marked as private.
    Trevor Moderator
    #266306
    This reply has been marked as private.
    Natty Srls
    #266332

    I am using the code as described in my first post, in the theme’s woocommerce.php page.
    And it worked just fine in the IT version.
    Do you need a FTP account as well?

    Trevor Moderator
    #266394

    Can I try and make a simple test form and page (one of each for each language) that doesn’t use your templates?

    Natty Srls
    #266402

    Sure, this installation is just for testing, and it’s a clone of the main site.

    Trevor Moderator
    #266546
    This reply has been marked as private.
    Natty Srls
    #266581
    This reply has been marked as private.
    Natty Srls
    #266587
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 24 total)

The topic ‘WooCommerce+WPML’ is closed to new replies.