a little closer
This commit is contained in:
parent
3cb0ccd0e2
commit
08d2233991
3 changed files with 83 additions and 5 deletions
Binary file not shown.
|
|
@ -313,10 +313,10 @@ sub www_view {
|
|||
onclick=>"this.form.shop.value='ship';this.form.method.value='viewAddressbook';this.form.submit;"}),
|
||||
shipppingAddress => "todo",
|
||||
shippingOptions => "todo",
|
||||
changeShippingButton => WebGUI::Form::submit($session, {value=>$i18n->get("change shipping button"),
|
||||
shipToButton => WebGUI::Form::submit($session, {value=>$i18n->get("ship to button"),
|
||||
onclick=>"this.form.shop.value='ship';this.form.method.value='viewAddressbook';this.form.submit;"}),
|
||||
hasShippingAddress => "todo",
|
||||
couponField => WebGUI::Form::text($session, {name=>"couponCode", value=>""}),
|
||||
couponField => WebGUI::Form::text($session, {name=>"couponCode", value=>"", size=>20}),
|
||||
couponDiscount => "todo",
|
||||
totalPrice => "todo",
|
||||
tax => "todo",
|
||||
|
|
@ -324,7 +324,7 @@ sub www_view {
|
|||
);
|
||||
my $template = WebGUI::Asset::Template->new($session, $session->setting->get("shopCartTemplateId"));
|
||||
$template->prepare;
|
||||
return $template->process(\%var);
|
||||
return $session->style->userStyle($template->process(\%var));
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -3,16 +3,94 @@ package WebGUI::i18n::English::Shop;
|
|||
use strict;
|
||||
|
||||
our $I18N = {
|
||||
'subtotal' => {
|
||||
message => q|Subtotal|,
|
||||
lastUpdated => 0,
|
||||
context => q|a summary heading in the cart|
|
||||
},
|
||||
|
||||
'coupon' => {
|
||||
message => q|Coupon|,
|
||||
lastUpdated => 0,
|
||||
context => q|a summary heading in the cart|
|
||||
},
|
||||
|
||||
'tax' => {
|
||||
message => q|Tax|,
|
||||
lastUpdated => 0,
|
||||
context => q|a summary heading in the cart|
|
||||
},
|
||||
|
||||
'total' => {
|
||||
message => q|Total|,
|
||||
lastUpdated => 0,
|
||||
context => q|a summary heading in the cart|
|
||||
},
|
||||
|
||||
'shipping' => {
|
||||
message => q|Shipping|,
|
||||
lastUpdated => 0,
|
||||
context => q|a summary heading in the cart|
|
||||
},
|
||||
|
||||
'not applicable' => {
|
||||
message => q|N/A|,
|
||||
lastUpdated => 0,
|
||||
context => q|shipping not possible on this item because it's not a physical good|
|
||||
},
|
||||
|
||||
'item' => {
|
||||
message => q|Item|,
|
||||
lastUpdated => 0,
|
||||
context => q|a column heading label in the shopping cart|
|
||||
},
|
||||
|
||||
'price' => {
|
||||
message => q|Price|,
|
||||
lastUpdated => 0,
|
||||
context => q|a column heading label in the shopping cart|
|
||||
},
|
||||
|
||||
'quantity' => {
|
||||
message => q|Quantity|,
|
||||
lastUpdated => 0,
|
||||
context => q|a column heading label in the shopping cart|
|
||||
},
|
||||
|
||||
'extended price' => {
|
||||
message => q|Extended Price|,
|
||||
lastUpdated => 0,
|
||||
context => q|a column heading label in the shopping cart|
|
||||
},
|
||||
|
||||
'per item shipping' => {
|
||||
message => q|Per Item Shipping|,
|
||||
lastUpdated => 0,
|
||||
context => q|a column heading label in the shopping cart|
|
||||
},
|
||||
|
||||
'remove button' => {
|
||||
message => q|Remove|,
|
||||
lastUpdated => 0,
|
||||
context => q|a button a user clicks on to remove an item from the cart|
|
||||
},
|
||||
|
||||
'update button' => {
|
||||
'checkout button' => {
|
||||
message => q|Checkout|,
|
||||
lastUpdated => 0,
|
||||
context => q|a button the user clicks on to proceed to payment options|
|
||||
},
|
||||
|
||||
'choose shipping button' => {
|
||||
message => q|Choose Shipping Address|,
|
||||
lastUpdated => 0,
|
||||
context => q|a button the user clicks on to choose shipping information|
|
||||
},
|
||||
|
||||
'update cart button' => {
|
||||
message => q|Update Cart|,
|
||||
lastUpdated => 0,
|
||||
context => q|a button the user clicks on to apply changes to a cart|
|
||||
context => q|a button the user clicks on to apply changes to the cart|
|
||||
},
|
||||
|
||||
'continue shopping button' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue