Add getAddToCartForm to skus, update Shelf code, help, i18n and template.
This commit is contained in:
parent
b4c60af457
commit
01b8ccf412
14 changed files with 222 additions and 4 deletions
|
|
@ -229,6 +229,25 @@ sub drawRelatedRibbonsField {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getAddToCartForm
|
||||
|
||||
Returns a button to take the user to the view screen.
|
||||
|
||||
=cut
|
||||
|
||||
sub getAddToCartForm {
|
||||
my $self = shift;
|
||||
my $session = $self->session;
|
||||
my $i18n = WebGUI::International->new($session, 'Asset_Sku');
|
||||
return
|
||||
WebGUI::Form::formHeader($session, {action => $self->getUrl})
|
||||
. WebGUI::Form::hidden( $session, {name => 'func', value => 'view'})
|
||||
. WebGUI::Form::submit( $session, {value => $i18n->get('see more')})
|
||||
. WebGUI::Form::formFooter($session)
|
||||
;}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getConfiguredTitle
|
||||
|
||||
Returns title + badgeholder name.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue