Conversie optimalisatie WooCommerce webshop

Veel grote webshops tonen in de shop geen euro teken bij de prijzen, alleen in de checkout wel. Dit is niet standaard in te stellen in WooCommerce, met deze snippet in de functions.php of in Code Snippets plugin los je dit op.

function avia_remove_wc_currency_symbol( $currency_symbol, $currency )
{
$currency_symbol = ”;
if ( is_cart() || is_checkout())
$currency_symbol = ‘€’;
return $currency_symbol;
}
add_filter(‘woocommerce_currency_symbol’, ‘avia_remove_wc_currency_symbol’, 10, 2);

Wil jij gratis WordPress tips in je inbox ontvangen?

Wij sturen maximaal 2 e-mails per maand. Beloofd!

Voornaam
Dit veld is bedoeld voor validatiedoeleinden en moet niet worden gewijzigd.