[FIX] subscriptions: updated and corrected mistake regarding eLearning connection

closes odoo/documentation#8465

X-original-commit: cc8c576936
Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
Signed-off-by: Kevin Scannell (ksc) <ksc@odoo.com>
This commit is contained in:
KC (ksc) 2024-03-21 08:22:34 -07:00
parent e84a7d1f28
commit 45efd8c90d
4 changed files with 26 additions and 20 deletions

View File

@ -1,13 +1,14 @@
=======================================
Use subscriptions in the eCommerce shop
=======================================
===================================
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:`Time-based pricing` tab of the product form. For example, if a subscription
product has *monthly* and *yearly* recurrence periods configured, then only the monthly price
appears on the eCommerce page for that product by default.
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.
@ -19,33 +20,38 @@ recurrence period.
Create recurrence periods as product variants
=============================================
To set up each recurrence period as a product variant, go to :menuselection:`Subscriptions -->
Subscriptions --> Products` and select a product. In the :guilabel:`Attributes & Variants` tab,
click :guilabel:`Add a line`.
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`.
Create an :guilabel:`Attribute` called `Billing Period` (or something similar) by typing in the
name and clicking :guilabel:`Create`. This attribute name appears as the option heading on the
product page of the eCommerce shop.
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.
Next, create :guilabel:`Values` that correspond to the recurrence periods that are configured in
the :guilabel:`Time-based pricing` tab of the product form. Type in the name of the recurrence
period, then click :guilabel:`Create`. These value names appear as selectable options on the
product page of the eCommerce shop.
the :guilabel:`Recurring Prices` tab of the product form.
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
:align: center
:alt: Recurrence periods configured as product variants in the "Attributes & Variants" tab of
the product form.
Click on the :guilabel:`☁️ (cloud)` icon at the top of the page to save manually. After saving, a
:guilabel:`Product Variants` column appears on the :guilabel:`Time-based pricing` tab. Assign the
product variants to their corresponding recurrence periods and prices.
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.
The product variants are now available for selection on the eCommerce product page.
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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 21 KiB