Added an asset called Shelf, which allows you to create categories of Skus.
This commit is contained in:
parent
e9853fdf5c
commit
82056c66aa
10 changed files with 266 additions and 29 deletions
|
|
@ -25,7 +25,9 @@
|
|||
amounts of money using the new commerce system.
|
||||
- Merged all the old shipping plugins into one "Flat Rate" shipping plugin.
|
||||
See gotchas.
|
||||
- rfe: Colorize Buttons on EMS
|
||||
- fix: Fwd: lazy guys bug report about the product system
|
||||
- Added an asset called Shelf, which allows you to create categories of Skus.
|
||||
- fix: Processing a Cash/Check Order
|
||||
- Rewrote Event Manager fromthe ground up.
|
||||
- Added WebGUI.str javascript class with sprintf and trim methods.
|
||||
|
|
|
|||
BIN
docs/upgrades/packages-7.5.11/root_import_shelf-default.wgpkg
Normal file
BIN
docs/upgrades/packages-7.5.11/root_import_shelf-default.wgpkg
Normal file
Binary file not shown.
|
|
@ -45,6 +45,7 @@ migrateOldProduct($session);
|
|||
mergeProductsWithCommerce($session);
|
||||
addCaptchaToDataForm( $session );
|
||||
addArchiveEnabledToCollaboration( $session );
|
||||
addShelf( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -60,6 +61,24 @@ sub addArchiveEnabledToCollaboration {
|
|||
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addShelf {
|
||||
my $session = shift;
|
||||
print "\tAdding Shelves" unless $quiet;
|
||||
|
||||
$session->db->write(q{
|
||||
create table Shelf (
|
||||
assetId varchar(22) binary not null,
|
||||
revisionDate bigint,
|
||||
templateId varchar(22) binary not null default 'nFen0xjkZn8WkpM93C9ceQ',
|
||||
primary key (assetId,revisionDate)
|
||||
)
|
||||
});
|
||||
$session->config->addToArray("assetContainers","WebGUI::Asset::Wobject::Shelf");
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
#----------------------------------------------------------------------------
|
||||
# Add the useCaptcha field to DataForm assets
|
||||
sub addCaptchaToDataForm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue