diff --git a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js.es6 b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js.es6 index d372097..a679e95 100644 --- a/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js.es6 +++ b/assets/javascripts/discourse/routes/admin-plugins-discourse-subscriptions-products-show.js.es6 @@ -8,7 +8,7 @@ export default Discourse.Route.extend({ let plans = []; if (product_id === "new") { - product = AdminProduct.create({ active: true, isNew: true }); + product = AdminProduct.create({ active: false, isNew: true }); } else { product = AdminProduct.find(product_id); plans = AdminPlan.findAll({ product_id }); diff --git a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs index 48d8fd7..352bbce 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-discourse-subscriptions-products-show.hbs @@ -26,6 +26,9 @@

{{input type="checkbox" name="active" checked=model.product.active}} +

+ {{i18n 'discourse_subscriptions.admin.products.product.active_help'}} +

diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 33b5bdb..1a59974 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -92,10 +92,11 @@ en: name: Product Name statement_descriptor: Statement Descriptor statement_descriptor_help: Extra information about a product which will appear on your customer’s credit card statement. - plan_help: Create a pricing plan to subscribe customers to this product + plan_help: Create a pricing plan to subscribe customers to this product. description: Description description_help: This describes your subscription product. active: Active + active_help: Toggle this off until your product is ready for consumers. created_at: Created updated_at: Updated product_help: Before cutomers can subscribe to your site, you need to create at least one product and an associated plan.