[wppizza type='totals']
|
– a small widget with basic cart info. no item count, sum displayed is total including discounts etc, no checkout button shown, no view cart icon shown
|
[wppizza type='totals' itemcount='left' value='items' checkout='1' viewcart='1' cart_view='summary']
|
– a small widget with basic cart info. item count to left of sum (if>0), sum displayed equals sum of items before discounts etc, checkout button shown (if checkout is available/possible), view cart icon shown, only cart summary shown when clicking on cart icon
|
[wppizza type='totals' itemcount='right' checkout='0' viewcart='1' cart_view='itemised']
|
– a small widget with basic cart info. item count to right of sum (if>0), sum displayed equals total including discounts etc, no checkout button shown, view cart icon shown, full cart shown when clicking on cart icon
|
If you use it and want to add some additional output before/after the widget (Like “cart” or something) you might want to wrap it into
if(!wppizza_is_orderpage()){
echo" some text before";
do_shortcode('[wppizza type="totals"]');
echo" something after";
}
as no output will be produced on the orderpage as this would only confuse the issue and all relevant details are of course already there.
|
|