[comment] ui_template: Yes ui_template_name: leftonly ui_template_layout: LEFTONLY_TOP, UI_CONTENT, LEFTONLY_BOTTOM ui_template_description: Page with top/left areas. page_title: description: Page title page_banner: description: Page banner help: Defaults to page title members_only: options: 1=Yes,0=No* widget: radio description: Members only component_before: options: =none, specials=Specials, random=Random items, upsell_horiz_2=Two upsell items, upsell_horiz_3=Three upsell items widget: select description: Component before content component_after: options: =none, specials=Specials, random=Random items, upsell_horiz_2=Two upsell items, upsell_horiz_3=Three upsell items widget: select description: Component after content bgcolor: options: #FFFFFF=White,pink=Pink widget: select description: Background color [/comment] [set page_banner]Shopping Cart Contents[/set] [set bgcolor]#FFFFFF[/set] [set component_before][/set] [set component_after]upsell_horiz_3[/set] [set members_only]0[/set] [set page_title]__COMPANY__ -- Shopping Cart[/set] __LEFTONLY_TOP__

[if type=explicit compare="q{[read-cookie MV_SESSION_ID]}"] [elsif scratch tried] You must have cookies set to leave the basket. Check out now or forever lose your shopping cart. [/elsif] [else] [set tried]1[/set] [bounce href="[area ord/basket]"] [/else] [/if]


[if items] [then] [item-list] [calc] my $item = '[item-increment]'; my $up = q{[item-data merchandising upsell_to]}; $upsell_remove{'[item-code]'} = 1; my %seen = ( '' => 1 ); $Scratch->{upsell} .= " $up" if $up; my @up = split /\s+/, $Scratch->{upsell}; @up = grep ( (!$seen{$_}++ && ! $upsell_remove{$_}), @up); $Scratch->{upsell} = join " ", @up; if ($item % 2 == 1) { $Scratch->{color} = "#CCCCCC"; } else { $Scratch->{color} = "#CCCC99"; } return; [/calc] [/item-list] [/then] [else] [/else] [/if]
Remove
SKU
Description
Quantity
Price
Extension
[item-code] [page [item-code]][item-description] [if scratch dealer] [if-item-data pricing sku]
[page quantity [item-code]] QUANTITY PRICING [/if-item-data] [/if] [if-item-field weight] [seti weight][summary amount=`[item-quantity] * [item-field weight]`][/seti] [/if-item-field] [if-item-data merchandising others_bought] [perl tables=products] my $hash = [item-data merchandising others_bought]; my @ary = sort { $hash->{$b} <=> $hash->{$a} } keys %$hash; return '' unless @ary; my %in_basket; splice(@ary, 3); for(@{$Carts->{main}}) { $in_basket{$_->{code}} = 1; } @ary = grep ! $in_basket{$_}, @ary; return '' unless @ary; my $out = <<'EOF';
Customers who bought this item also bought:
EOF for(@ary) { my $desc = tag_data( 'products', 'description', $_); $out .= <$desc
EOF } return $out . '
'; [/perl] [/if-item-field] [if-item-modifier gift_cert] GIFT CERT
[/if-item-modifier]
[set count][item-data inventory quantity][/set] [if scratch count < 1] Back Ordered [else] Sizes: [item-accessories size][item-accessories color] [/else] [/if]
[discount-price][if discount [item-code]]
Item is discounted [item-discount][/if]
[item-subtotal]
Ship To:   [if !value shipto_[item-increment]][value name=shipto_[item-increment] set="primary" hide=1][/if] Add Address

No items at the moment.


[button text="Continue shopping" src="navigation/continue_shopping.gif" hidetext=1 form=basket ] [bounce href='[history-scan exclude="^/ord|^/multi/|^/process" default=browse]'] mv_nextpage=nothing [/button]
[button text="Check out" src="navigation/checkout_button.gif" hidetext=1 form=basket ] mv_todo=return mv_nextpage=ord/checkout [/button]
[if scratch order_discounted] [/if]
[comment]
Discount:
[/comment]
-[currency][scratch coupon_amount][/currency]
Shipping Weight:
[summary format="%s" total=1]
Subtotal:
[subtotal]

 

__LEFTONLY_BOTTOM__