Add “step” cart on checkout page

4.5/5
<?php
add_action( 'wp_footer', 'add_cart_step_on_checkout_page' );

function add_cart_step_on_checkout_page() {
?> 
<script>
	jQuery( 'ul.wpmc-tabs-list.wpmc-3-tabs' ).prepend('<li class="wpmc-tab-item previous visited" data-step-title="cart" style="width:25%"><a href="/cart/"><div class="wpmc-tab-number">0</div></a><a href="/cart/"><div class="wpmc-tab-text">Cart</div></a></li>');

</script>
<?php } 

Comments and reviews

{{ reviewsTotal }} Review
{{ reviewsTotal }} Reviews
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}

Description

This snippet was fetched automatically from WPDistro.cz projects.

Author

Tags