- Generate an access token for Shopify OAuth. Go to
https://ctd-sales.ngrok.io/admin/shopify_auth
- Run
rake shopify:update_all_data
- Update Campaign Monitor smart IDs for auto quote emails
- Run
RAILS_ENV=test rake db:migrate
- Run
RAILS_ENV=test rails c
- Run
AppConfig.set_shopify_session(ACCESS_TOKEN)
- Run
TransactionalEmail.create(name: 'test', smart_id: '824efb69-c442-423c-a674-1b5d51a713c3')
- Run
RAILS_ENV=test rake shopify:update_all_data
Run these rake tasks on first deployment/whenever any changes are made to the Shopify store products/variants.
bundle exec rake shopify:update_products_and_variants
bundle exec rake shopify:update_tattoo_sizes