FoxyStripe 4 introduces a new class FoxyStripeSetting
to store your FoxyCart store settings. To migrate your settings from SiteConfig
to FoxyStripeSetting
, do the following:
-
Apply the
SiteConfigMigration
DataExtension toSiteConfig
SilverStripe\SiteConfig\SiteConfig: extensions: - Dynamic\FoxyStripe\ORM\SiteConfigMigration
-
Open Settings in the CMS - http://example.com/admin/settings
-
Hit 'Save'. The data will save to the current
FoxyStripeSetting
viaonAfterWrite()
onSiteConfig
-
Remove the
SiteConfigMigration
DataExtension fromSiteConfig
Your FoxyCart settings should now be viewable in the FoxyStripe admin.