There are a couple of commands to help you with the setup of Snipcart for Statamic.
setupcommand creates all the necessary collections, taxonomies, and blueprints to get you started. The command won't override existing collections, taxonomies, and blueprints.
php please snipcart:setup
You can restore the collections, taxonomies, and blueprints to their factory preset by adding the
--forceflag to the command. This will purge all the changes you may have made.
php please snipcart:setup --force
sync-sitescommand syncs your Snipcart sites in with your Statamic sites.
php please snipcart:sync-sites
The config and translations are automatically merged and loaded. You can publish them using the following commands.
Publish the config to
php please vendor:publish --tag=snipcart-config
Publish the translations to
php please vendor:publish --tag=snipcart-translations