add hasAddedToCart and thankYouMessage template variables

This commit is contained in:
Colin Kuskie 2008-06-11 02:09:24 +00:00
parent bbe0ee5ea3
commit bfd1f3ae07
4 changed files with 38 additions and 2 deletions

View file

@ -928,6 +928,7 @@ sub migrateOldProduct {
$session->db->write(q!update asset set className='WebGUI::Asset::Sku::Product' where className='WebGUI::Asset::Wobject::Product'!);
## Add variants collateral column to Sku/Product
$session->db->write('alter table Product add column thankYouMessage mediumtext');
$session->db->write('alter table Product add column accessoryJSON mediumtext');
$session->db->write('alter table Product add column benefitJSON mediumtext');
$session->db->write('alter table Product add column featureJSON mediumtext');
@ -1396,7 +1397,7 @@ sub addVersionStartEndDates {
#-------------------------------------------------
sub migrateSubscriptions {
my $session = shift;
print "\tMigrating subscriptions to the new commerce system..." unless ($quiet);
print "\tMigrating subscriptions to the new commerce system...\n" unless ($quiet);
# Check if codes are tied to multiple subscriptions.
my ($hasDoubles) = $session->db->buildArray(