diff --git a/content/applications/sales/subscriptions/ecommerce.rst b/content/applications/sales/subscriptions/ecommerce.rst index 04e514716..dcb2c911d 100644 --- a/content/applications/sales/subscriptions/ecommerce.rst +++ b/content/applications/sales/subscriptions/ecommerce.rst @@ -4,55 +4,22 @@ Subscriptions in the eCommerce shop Subscription products can be sold in the Odoo *eCommerce* shop just like regular sales products. -However, by default, the eCommerce product page **only** displays the shortest recurrence period -listed in the :guilabel:`Recurring Prices` tab of the product form. - -For example, if a subscription product has *monthly* and *annaul* recurrence periods configured, -then *only* the monthly price appears on the eCommerce page for that product, by default. - -To add more recurrence periods to the eCommerce product page, create a *product variant* for each -recurrence period. - .. seealso:: - :doc:`Configure subscription products ` - - :doc:`Product variants ` -Create recurrence periods as product variants -============================================= +Selling eCommerce subscriptions +=============================== -To set up each recurrence period as a product variant, go to :menuselection:`Subscriptions app --> -Products --> Products`, and select a product. In the :guilabel:`Attributes & Variants` tab, click -:guilabel:`Add a line`. +:doc:`Configure the subscription product ` as a regular recurring sales product. To +start selling the subscription in the eCommerce shop, click the :guilabel:`Go to Website` smart +button to navigate to the product page. -Then proceed to create an :guilabel:`Attribute` called `Billing Period` (or something similar), by -typing in the name, and clicking :guilabel:`Create` from the mini drop-down menu that appears. This -attribute name appears as option heading on the product page of the eCommerce shop. +From here, review the subscription product and its recurring periods. Then, toggle the switch in the +upper-right corner from :guilabel:`Unpublished` to :guilabel:`Published`. -Next, create :guilabel:`Values` that correspond to the recurrence periods that are configured in -the :guilabel:`Recurring Prices` tab of the product form. +The new subscription product is now available to purchase on the eCommerce website, with options +for the different recurring periods. -To do that, type in the name of the recurrence period in the :guilabel:`Values` column, on the same -:guilabel:`Attribute` line, in the :guilabel:`Attributes & Variants` tab. Then, click -:guilabel:`Create` from the mini drop-down menu that appears. - -These value names appear as selectable options on the product page of the eCommerce shop. - -.. image:: ecommerce/recurrence-period-attributes-variants.png +.. image:: ecommerce/subscription-product.png :align: center - :alt: Recurrence periods configured as product variants in the "Attributes & Variants" tab of - the product form. - -With those configurations in place and saved, a :guilabel:`Product Variants` column appears in the -:guilabel:`Recurring Prices` tab. Proceed to assign the different :guilabel:`Product Variants` to -their corresponding recurrence :guilabel:`Period` and :guilabel:`Price`. - -.. image:: ecommerce/product-variants-time-based-pricing.png - :align: center - :alt: Product variants on the "Time-based pricing" tab of the product form. - -After following those aforementioned steps, the product variants are available for selection on the -eCommerce product page. - -.. image:: ecommerce/recurrence-period-ecommerce.png - :align: center - :alt: Recurrence periods configured as product variants on the eCommerce product page. + :alt: Subscription product on eCommerce website. diff --git a/content/applications/sales/subscriptions/ecommerce/product-variants-time-based-pricing.png b/content/applications/sales/subscriptions/ecommerce/product-variants-time-based-pricing.png deleted file mode 100644 index 3f48abdaa..000000000 Binary files a/content/applications/sales/subscriptions/ecommerce/product-variants-time-based-pricing.png and /dev/null differ diff --git a/content/applications/sales/subscriptions/ecommerce/recurrence-period-attributes-variants.png b/content/applications/sales/subscriptions/ecommerce/recurrence-period-attributes-variants.png deleted file mode 100644 index fc7fd0cd2..000000000 Binary files a/content/applications/sales/subscriptions/ecommerce/recurrence-period-attributes-variants.png and /dev/null differ diff --git a/content/applications/sales/subscriptions/ecommerce/recurrence-period-ecommerce.png b/content/applications/sales/subscriptions/ecommerce/recurrence-period-ecommerce.png deleted file mode 100644 index 61ae117d6..000000000 Binary files a/content/applications/sales/subscriptions/ecommerce/recurrence-period-ecommerce.png and /dev/null differ diff --git a/content/applications/sales/subscriptions/ecommerce/subscription-product.png b/content/applications/sales/subscriptions/ecommerce/subscription-product.png new file mode 100644 index 000000000..0330c940a Binary files /dev/null and b/content/applications/sales/subscriptions/ecommerce/subscription-product.png differ