depthWrite: true,
transparent: false,
opacity: 1,
function ronbel_notice() {
if (WC()->session->get('volume_weight')) {
$notice = WC()->session->get('volume_weight');
wc_print_notice( $notice, 'notice' );
// WC()->session->__unset( 'volume_weight' );
}
}
add_action( 'woocommerce_cart_updated', 'ronbel_notice' );
public function boot()
{
$this->configureRateLimiting();
$this->routes(function () {
Route::middleware('api')
->prefix('api')
->group(base_path('routes/api.php')); // Маршруты API
Route::middleware('web')->group(base_path('routes/account.php'));
Route::middleware('web')->group(base_path('routes/auth.php'));
});
}
по идее в symbol можно, только id оставить?