Show Variant Description in Titles of Products with Single Variant
|Assignee:||Pavan Rikhi||% Done:|
|Target version:||v0.7.0 - Misc Pages & UI|
This is necessary when there are multiple variants but only one is active. In this case, the variant dropdown is not shown so the customer would not know the lot quantity of the product they are buying...
[#1541] Show Lot Size in Names of Single-Variant Products
Add a singleVariantName function to the Product module, which appends
the Lot Size to the Product's name if there is only a single variant
Modify the Products.Views module to use this rendering function in the
Product details & list views.
Modify the Product styles to prevent the Lot Size from being underlined
when in hovered links(like the Product name).