Skip to content

Commit

Permalink
The upgrade script from 3.00 to 3.10 had an issue. SKU, GTIN and manu…
Browse files Browse the repository at this point in the history
…facturer part numbers were not migrated for child products associated to a parent "grouped" products
  • Loading branch information
andreymaz committed Aug 2, 2013
1 parent 971aa5a commit 297bae1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion upgradescripts/3.00-3.10/upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4100,6 +4100,7 @@ BEGIN
(Name, ShortDescription, ProductTemplateId, VendorId, ShowOnHomePage,
AllowCustomerReviews, ApprovedRatingSum, NotApprovedRatingSum, ApprovedTotalReviews,
NotApprovedTotalReviews, SubjectToAcl, LimitedToStores, Published, Deleted, CreatedOnUtc, UpdatedOnUtc,
Sku, ManufacturerPartNumber, Gtin,
IsGiftCard, GiftCardTypeId, RequireOtherProducts, AutomaticallyAddRequiredProducts, IsDownload,
DownloadId, UnlimitedDownloads, MaxNumberOfDownloads, DownloadExpirationDays, DownloadActivationTypeId, HasSampleDownload,
SampleDownloadId, HasUserAgreement, UserAgreementText,
Expand All @@ -4116,7 +4117,9 @@ BEGIN
VALUES (@AssociatedProductName, @Description, @SimpleProductTemplateId,
@AssociatedProductVendorId, 0, 0, 0, 0,
0, 0, 0, 0, @AssociatedProductPublished,
@AssociatedProductDeleted, @CreatedOnUtc, @UpdatedOnUtc, @IsGiftCard, @GiftCardTypeId, @RequireOtherProducts,
@AssociatedProductDeleted, @CreatedOnUtc, @UpdatedOnUtc,
@Sku,@ManufacturerPartNumber, @Gtin,
@IsGiftCard, @GiftCardTypeId, @RequireOtherProducts,
--a store owner should manually update [RequiredProductIds] property after upgrade
@AutomaticallyAddRequiredProducts, @IsDownload, @DownloadId, @UnlimitedDownloads, @MaxNumberOfDownloads,
@DownloadExpirationDays, @DownloadActivationTypeId, @HasSampleDownload, @SampleDownloadId,
Expand Down

0 comments on commit 297bae1

Please sign in to comment.