• Resolved pascal.blanche

    (@pascalblanche)


    Hi,
    We use WordPress/DIVI/Woocommerce/Weglot. (french and spanish)
    There’s a problem about Filter Product Catégory and Weglot.
    The stranslation is ok but not the target link.
    In the spanish boutique, i Select a category (filter in sidebar) and after the new page is the good page but in french. It must be the same page in Spanish language.
    Weglot support ask me to contact woocommerce support in order to know if there’s a way to add a language information in the url, for exemple : https://guapi-store.com/?product_cart=les-hauts?locale=es because the bad url is https://quapi-store.com/?product_cat=les-bas

    the woocommerce code is :

    jQuery( '.dropdown_product_cat' ).change( function() {
    	if ( jQuery(this).val() != '' ) {
    		var this_page = '';
    		var home_url  = 'https://guapi-store.com/';
    	if ( home_url.indexOf( '?' ) > 0 ) {
    		this_page = home_url + '&product_cat=' + jQuery(this).val();
            } else {
    		this_page = home_url + '?product_cat=' + jQuery(this).val();
    						}
    		location.href = this_page;
    	} else {
    		location.href = 'https://guapi-store.com/';
    					}
    });
    
    if ( jQuery().selectWoo ) {
    		var wc_product_cat_select = function() {
    		jQuery( '.dropdown_product_cat' ).selectWoo( {
    		placeholder: 'Seleccione una categoría',
    		minimumResultsForSearch: 5,
    		width: '100%',
    		allowClear: true,
    		language: {
    		noResults: function() {
    	        return 'Aucun résultat';
          }
        }
    } );
    };
    	wc_product_cat_select();
    }

    });

    So is-there someone who know this problem or have a procedure to get the solution please ?
    Thank for your help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hi there,

    Since the issue is related to Weglot, I recommend reaching out to the Weglot plugin support for further assistance.

    Thanks!

    Thread Starter pascal.blanche

    (@pascalblanche)

    Hi there,

    This is a bad news after 1 month.
    Weglot support ask me to contact woocommerce support and woocommerce support tell me to contact weglot…

    Thanks!

    Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hello @pascalblanche,

    Unfortunately, we won’t be able to assist you with the issues that are related to the 3rd party plugins. If Weglot support is not interested in helping you with the ongoing issue of yours then I recommend you to find an alternative plugin.

    Thanks!

    Plugin Support Shohan Hossain Nabil – a11n

    (@sohanhossain)

    Hey there!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Produc Category Filter & Weglot’ is closed to new replies.