Thanks,
Paul
Thanks
]]>https://www.ads-software.com/plugins/woocommerce-cart-tab/
]]>https://www.ads-software.com/plugins/woocommerce/
]]>But I don’t want the link to the product, is there a way to remove the link?
Also, is there a way to change the thumbnail?
Thanks!
https://www.ads-software.com/plugins/woocommerce-cart-tab/
]]>In other words, only the subscription item’s price is shown, and everything else gets overwritten.
Also, a negative number shows up in the quantity label beneath the price on the tab.
https://www.ads-software.com/plugins/woocommerce-cart-tab/
]]>Here an image of the problem: https://www.paladijn.com/cart-tab.jpg
https://www.ads-software.com/plugins/woocommerce-cart-tab/
]]>https://www.ads-software.com/plugins/woocommerce-cart-tab/
]]>I love your plugin but I need to have it only visible when there is something in the cart.
I have tried wrapping the woocommerce_cart_tab() function in the if ( sizeof( $woocommerce->cart->cart_contents ) == 0 ) {
// The cart is empty
}
but i get an error and the cart becomes inactive. where am i going wrong? this is my code, can you show me where i am going wrong?
if ( sizeof( $woocommerce->cart->cart_contents ) == 0 ) {
// The cart is empty
// Display the cart tab and widget
function woocommerce_cart_tab() {
global $woocommerce;
$skin = get_option( 'wc_ct_skin' );
$position = get_option( 'wc_ct_horizontal_position' );
$widget = get_option( 'wc_ct_cart_widget' );
if ( ! is_cart() && ! is_checkout() ) {
if ( $widget == 'yes' ) {
echo '<div class="' . $position . ' cart-tab ' . $skin . '">';
} else {
echo '<div class="' . $position . ' cart-tab no-animation ' . $skin . '">';
}
wcct_cart_button();
// Display the widget if specified
if ( $widget == 'yes' ) {
// Check for WooCommerce 2.0 and display the cart widget
if ( version_compare( WOOCOMMERCE_VERSION, "2.0.0" ) >= 0 ) {
the_widget( 'WC_Widget_Cart', 'title=' );
} else {
the_widget( 'WooCommerce_Widget_Cart', 'title=' );
}
}
echo '</div>';
}
}
}
}
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Thank you
https://www.ads-software.com/extend/plugins/woocommerce-cart-tab/
]]>