Added the methods for the pluggable tax system that add templ vars to the cart and cart items.
This commit is contained in:
parent
9d90b92629
commit
7fb87de71d
5 changed files with 154 additions and 14 deletions
|
|
@ -735,6 +735,7 @@ sub www_view {
|
|||
my $url = $session->url;
|
||||
my $i18n = WebGUI::International->new($session, "Shop");
|
||||
my @items = ();
|
||||
my $taxDriver = WebGUI::Shop::Tax->getDriver( $session );
|
||||
|
||||
if($url->forceSecureConnection()){
|
||||
return "redirect";
|
||||
|
|
@ -785,6 +786,9 @@ sub www_view {
|
|||
unless (WebGUI::Error->caught) {
|
||||
$properties{shippingAddress} = $address->getHtmlFormatted;
|
||||
}
|
||||
|
||||
$taxDriver->appendCartItemVars( \%properties, $item );
|
||||
|
||||
push(@items, \%properties);
|
||||
}
|
||||
my %var = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue