Jump to content

Edit History

ps8modules

ps8modules

44 minutes ago, Nathan_Pereira said:

Hi,

 

The earlier option which baba code provided works well using javascript.

 

The multilingual javascript would have to be:

    const array = ['free', 'kostenlos']; 
    $('.carrier-price').filter(function() {
        return $.inArray($(this).text().trim().toLowerCase(), array) !== -1;
    }).css('display', 'none');

 

ps8modules

ps8modules

31 minutes ago, Nathan_Pereira said:

Hi,

 

The earlier option which baba code provided works well using javascript.

 

The multilingual javascript would have to be:

    const array = ['free', 'kostenlos']; 
    $('.carrier-price').filter(function() {
        return $.inArray($(this).text(), array) !== -1;
    }).css('display', 'none');

 

×
×
  • Create New...