Translate all Product variables to use underscores instead of dots.
Update i18n and Help and the Product Template. Remove the Benefits Showcase, Left Column Collateral and Three Columns Product templates.
This commit is contained in:
parent
5edb13924a
commit
3428c3947d
6 changed files with 230 additions and 205 deletions
Binary file not shown.
|
|
@ -52,6 +52,7 @@ upgradeEMS($session);
|
|||
migrateOldProduct($session);
|
||||
mergeProductsWithCommerce($session);
|
||||
updateUsersOfProductMacro($session);
|
||||
deleteOldProductTemplates($session);
|
||||
addCaptchaToDataForm( $session );
|
||||
addArchiveEnabledToCollaboration( $session );
|
||||
addShelf( $session );
|
||||
|
|
@ -1079,6 +1080,19 @@ sub updateUsersOfProductMacro {
|
|||
}
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
sub deleteOldProductTemplates {
|
||||
my $session = shift;
|
||||
print "\tDeleting all Product Templates, except for the Default Product Template.\n" unless ($quiet);
|
||||
$session->db->write("update Product set templateId='PBtmpl0000000000000056.tmpl'");
|
||||
foreach my $templateId (qw/PBtmpl0000000000000095 PBtmpl0000000000000110 PBtmpl0000000000000119/) {
|
||||
my $template = WebGUI::Asset->newByDynamicClass($session, $templateId);
|
||||
$template->purge;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------
|
||||
sub insertCommercePayDriverTable {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue