Closed Platonn closed 5 years ago
Please use convention proposed in #1962
@Platonn here I would also get rid off this method: https://github.com/SAP/cloud-commerce-spartacus-storefront/blob/77c7c65dac0eca5ccb7ae34303f29730df9cc8bf/projects/storefrontlib/src/lib/product/components/product-details/product-summary/product-summary.component.ts#L31
and use cxTranslate
in the template.
cart-item.component.html
in line 107 renders conditionally thestockLevelStatus
property only when it has valueoutOfStock
. We should usestockLevelStatus
to conditaionally show something, but the message should be different, taken from translations.