Shopping Cart Off | WordPress.org

[ad_1]

Hello @romain22

I’m really sorry, but we do not directly support the legacy cart widget as it is part of the old selection which can be dropped at any time.

You can add a little PHP snippet to your site in order to forcefully load its assets, but please note that this is an unsupported scenario which may be dropped at any time without warning.

The PHP code goes like this –

add_action('wp_enqueue_scripts', function() {
	$theme = blocksy_get_wp_parent_theme();

	wp_enqueue_style(
		'ct-legasy-mini-cart-styles',
		blocksy_cdn_url(
			get_template_directory_uri() . '/static/bundle/cart-header-element-lazy.min.css'
		),
		[],
		$theme->get('Version')
	);
});

Hope this clears things up!

Thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer