Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Showing Dynamic "View Cart" Button › Reply To: Showing Dynamic "View Cart" Button
March 31, 2010 at 8:27 am
#16931
askjayson
Member
Thanks Amin, I have this code in place and it works like a charm if anyone is interested in displaying the shortcode on their “empty cart” page.
Code:
if (!digi_cart_not_empty()) {
<?php echo do_shortcode(‘[wp_eStore_list_categories_fancy]’); ?>
}
<?php echo do_shortcode(‘[wp_eStore_list_categories_fancy]’); ?>
}
Also I thought it would be a great benefit to have a URI redirect field for when shoppers do empty their cart.
All the best.