/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
add_action( 'after_setup_theme', function () {
    remove_theme_support( 'wc-product-gallery-zoom' );
    remove_theme_support( 'wc-product-gallery-lightbox' );
    remove_theme_support( 'wc-product-gallery-slider' );
});
add_filter('gettext', function($translated, $text, $domain) {

    switch ($text) {

        case 'Proceed to checkout':
            return 'Doorgaan naar afrekenen';

        case 'Estimated total':
            return 'Totaal';

        case 'Add coupons':
        case 'Add coupon':
            return 'Kortingscode toevoegen';

        case 'Cart totals':
            return 'Winkelwagen totaal';

    }

    return $translated;

}, 10, 3);
``