[woocommerce_cart]
[woocommerce_checkout]
function customcfg_wc_terms( $terms_is_checked ) {
return true;
}
add_filter( 'woocommerce_terms_is_checked_default', 'customcfg_wc_terms', 10 );
@font-face {
font-family:'star';src:url('../fonts/star.eot');src:url('../fonts/star.eot?#iefix') format('embedded-opentype'), url('../fonts/star;.woff') format('woff'), url('../fonts/star.ttf') format('truetype'), url('../fonts/star.svg#star') format('svg');font-weight:normal;font-style:normal;
}
add_filter( 'woocommerce_breadcrumb_defaults', 'add_woocommerce_breadcrumbs' );
function add_woocommerce_breadcrumbs() {
return array(
'delimiter' => ' / ',
'wrap_before' => '<nav class="woocommerce-breadcrumb" itemprop="breadcrumb"><a href="https://site.ru/">Главная</a><span class="breadcrumb-separator"> / </span>',
'wrap_after' => '</nav>',
'before' => '',
'after' => '',
'home' => '<a href="https://site.ru/type/catalog">Каталог</a>'
);
}
.woocommerce .product .images, .woocommerce-page .product .images {
pointer-events: none;
}