From cb947d2e9b7f7050ddd95b15344f809b20034528 Mon Sep 17 00:00:00 2001
From: AnirudhBhat <abhat38@gmail.com>
Date: Tue, 31 Dec 2024 08:58:19 +0530
Subject: [PATCH 1/4] Add string resource

---
 WooCommerce/src/main/res/values/strings.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/WooCommerce/src/main/res/values/strings.xml b/WooCommerce/src/main/res/values/strings.xml
index 046f16ee329..7e1f5dab96f 100644
--- a/WooCommerce/src/main/res/values/strings.xml
+++ b/WooCommerce/src/main/res/values/strings.xml
@@ -4361,6 +4361,7 @@
     <string name="woopos_items_pagination_error_description">"An error occurred while loading products."</string>
     <string name="woopos_items_pagination_error_content_description">"Failed to load more items. Double tap to try again."</string>
     <string name="woopos_variations_loading_error_title">Error loading variations</string>
+    <string name="woopos_variations_options_available_text">Options available</string>
 
     <string name="woopos_cash_payment_title">Cash payment</string>
     <string name="woopos_complete_cash_order_button">Mark payment as complete</string>

From a5279e22b5f5049a75ab09d92ec0170773c1b5e1 Mon Sep 17 00:00:00 2001
From: AnirudhBhat <abhat38@gmail.com>
Date: Tue, 31 Dec 2024 08:58:34 +0530
Subject: [PATCH 2/4] Remove variation quantity from products screen

---
 .../android/ui/woopos/home/items/WooPosItemsList.kt         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/WooPosItemsList.kt b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/WooPosItemsList.kt
index ccef08f1995..bf18b493d0d 100644
--- a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/WooPosItemsList.kt
+++ b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/WooPosItemsList.kt
@@ -211,7 +211,7 @@ private fun ProductInfo(item: WooPosItem) {
         Spacer(modifier = Modifier.height(8.dp))
         when (item) {
             is SimpleProduct -> SimpleProductDetails(item = item)
-            is VariableProduct -> VariableProductDetails(item = item)
+            is VariableProduct -> VariableProductDetails()
             is Variation -> VariationProductDetails(item = item)
         }
     }
@@ -249,9 +249,9 @@ private fun SimpleProductDetails(item: SimpleProduct) {
 }
 
 @Composable
-private fun VariableProductDetails(item: VariableProduct) {
+private fun VariableProductDetails() {
     Text(
-        text = "${item.numOfVariations} Variations",
+        text = stringResource(id = R.string.woopos_variations_options_available_text),
         style = MaterialTheme.typography.h6,
         fontWeight = FontWeight.Normal
     )

From 3f54acca252981cd1ab46783552b384d38ab1f44 Mon Sep 17 00:00:00 2001
From: AnirudhBhat <abhat38@gmail.com>
Date: Tue, 31 Dec 2024 08:58:48 +0530
Subject: [PATCH 3/4] Remove variation quantity from variations screen

---
 .../home/items/variations/WooPosVariationsScreen.kt | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/variations/WooPosVariationsScreen.kt b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/variations/WooPosVariationsScreen.kt
index caf554da89e..09385c52012 100644
--- a/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/variations/WooPosVariationsScreen.kt
+++ b/WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/items/variations/WooPosVariationsScreen.kt
@@ -235,19 +235,6 @@ private fun VariationsToolbar(
                 top.linkTo(parent.top, margin = 8.dp)
             }
         )
-
-        Text(
-            text = stringResource(
-                id = R.string.woopos_items_list_variable_product_variations,
-                variableProductData.numOfVariations
-            ),
-            style = MaterialTheme.typography.h6,
-            color = MaterialTheme.colors.onSurface.copy(alpha = 0.6f),
-            modifier = Modifier.constrainAs(variationsCount) {
-                start.linkTo(productName.start)
-                top.linkTo(productName.bottom, margin = 4.dp)
-            }
-        )
     }
 }
 

From 7fbd2bacf9d82916bdba878886d6fd83ad2f5bad Mon Sep 17 00:00:00 2001
From: AnirudhBhat <abhat38@gmail.com>
Date: Fri, 10 Jan 2025 09:15:20 +0530
Subject: [PATCH 4/4] Remove unused string resource

---
 WooCommerce/src/main/res/values-ar/strings.xml     | 1 -
 WooCommerce/src/main/res/values-de/strings.xml     | 1 -
 WooCommerce/src/main/res/values-es/strings.xml     | 1 -
 WooCommerce/src/main/res/values-fr/strings.xml     | 1 -
 WooCommerce/src/main/res/values-he/strings.xml     | 1 -
 WooCommerce/src/main/res/values-id/strings.xml     | 1 -
 WooCommerce/src/main/res/values-it/strings.xml     | 1 -
 WooCommerce/src/main/res/values-ja/strings.xml     | 1 -
 WooCommerce/src/main/res/values-ko/strings.xml     | 1 -
 WooCommerce/src/main/res/values-nl/strings.xml     | 1 -
 WooCommerce/src/main/res/values-pt-rBR/strings.xml | 1 -
 WooCommerce/src/main/res/values-ru/strings.xml     | 1 -
 WooCommerce/src/main/res/values-sv/strings.xml     | 1 -
 WooCommerce/src/main/res/values-tr/strings.xml     | 1 -
 WooCommerce/src/main/res/values-zh-rCN/strings.xml | 1 -
 WooCommerce/src/main/res/values-zh-rTW/strings.xml | 1 -
 WooCommerce/src/main/res/values/strings.xml        | 1 -
 fastlane/resources/values/strings.xml              | 1 -
 18 files changed, 18 deletions(-)

diff --git a/WooCommerce/src/main/res/values-ar/strings.xml b/WooCommerce/src/main/res/values-ar/strings.xml
index f240799f0fa..b9c0832f55e 100644
--- a/WooCommerce/src/main/res/values-ar/strings.xml
+++ b/WooCommerce/src/main/res/values-ar/strings.xml
@@ -9,7 +9,6 @@ Language: ar
     <string name="woopos_variations_loading_error_title">خطأ في تحميل الأشكال</string>
     <string name="woopos_variations_screen_pagination_error">\"فشل تحميل مزيد من العناصر. يرجى المحاولة مرة أخرى\".</string>
     <string name="woopos_variations_back_content_description">رجوع</string>
-    <string name="woopos_items_list_variable_product_variations">⁦%1$d⁩ من الأشكال</string>
     <string name="woopos_variation_item_content_description">الشكل %s، الشعر %s</string>
     <string name="woopos_variable_product_item_content_description">المنتج المتغير %s، السعر %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">يتعذر أن يكون الوصف فارغًا</string>
diff --git a/WooCommerce/src/main/res/values-de/strings.xml b/WooCommerce/src/main/res/values-de/strings.xml
index c4042c70557..943489566ce 100644
--- a/WooCommerce/src/main/res/values-de/strings.xml
+++ b/WooCommerce/src/main/res/values-de/strings.xml
@@ -9,7 +9,6 @@ Language: de
     <string name="woopos_variations_loading_error_title">Beim Laden der Varianten ist ein Fehler aufgetreten</string>
     <string name="woopos_variations_screen_pagination_error">„Es ist ein Fehler beim Laden weiterer Artikel aufgetreten. Bitte versuche es erneut.“</string>
     <string name="woopos_variations_back_content_description">Zurück</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d Varianten</string>
     <string name="woopos_variation_item_content_description">Variante: %s, Preis: %s</string>
     <string name="woopos_variable_product_item_content_description">Variables Produkt: %s, Preis: %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">Beschreibung darf nicht leer sein</string>
diff --git a/WooCommerce/src/main/res/values-es/strings.xml b/WooCommerce/src/main/res/values-es/strings.xml
index f6c91661269..876ea6f8513 100644
--- a/WooCommerce/src/main/res/values-es/strings.xml
+++ b/WooCommerce/src/main/res/values-es/strings.xml
@@ -9,7 +9,6 @@ Language: es
     <string name="woopos_variations_loading_error_title">Error al cargar variaciones</string>
     <string name="woopos_variations_screen_pagination_error">\"No se han podido cargar más elementos. Inténtalo de nuevo\".</string>
     <string name="woopos_variations_back_content_description">Volver</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d variaciones</string>
     <string name="woopos_variation_item_content_description">Variación: %s; Precio: %s</string>
     <string name="woopos_variable_product_item_content_description">Producto variable: %s; Precio: %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">La descripción no puede estar vacía.</string>
diff --git a/WooCommerce/src/main/res/values-fr/strings.xml b/WooCommerce/src/main/res/values-fr/strings.xml
index de937787fdb..b492f92f938 100644
--- a/WooCommerce/src/main/res/values-fr/strings.xml
+++ b/WooCommerce/src/main/res/values-fr/strings.xml
@@ -9,7 +9,6 @@ Language: fr
     <string name="woopos_variations_loading_error_title">Erreur lors du chargement des variantes</string>
     <string name="woopos_variations_screen_pagination_error">« Échec du chargement d’éléments supplémentaires. Veuillez réessayer. »</string>
     <string name="woopos_variations_back_content_description">Retour</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d variantes</string>
     <string name="woopos_variation_item_content_description">Variante %s, prix %s</string>
     <string name="woopos_variable_product_item_content_description">Produit variable %s, prix %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">La description ne peut pas être vide</string>
diff --git a/WooCommerce/src/main/res/values-he/strings.xml b/WooCommerce/src/main/res/values-he/strings.xml
index 36371d22006..05805b23e7b 100644
--- a/WooCommerce/src/main/res/values-he/strings.xml
+++ b/WooCommerce/src/main/res/values-he/strings.xml
@@ -9,7 +9,6 @@ Language: he_IL
     <string name="woopos_variations_loading_error_title">שגיאה בטעינת הסוגים</string>
     <string name="woopos_variations_screen_pagination_error">\"הטעינה של פריטים נוספים נכשלה. יש לנסות שוב.\"</string>
     <string name="woopos_variations_back_content_description">חזרה</string>
-    <string name="woopos_items_list_variable_product_variations">⁦%1$d⁩ סוגים</string>
     <string name="woopos_variation_item_content_description">סוג %s, מחיר %s</string>
     <string name="woopos_variable_product_item_content_description">מוצר עם סוגים %s, מחיר %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">התיאור לא יכול להיות ריק</string>
diff --git a/WooCommerce/src/main/res/values-id/strings.xml b/WooCommerce/src/main/res/values-id/strings.xml
index 5d9f8559996..9138c1e0b24 100644
--- a/WooCommerce/src/main/res/values-id/strings.xml
+++ b/WooCommerce/src/main/res/values-id/strings.xml
@@ -9,7 +9,6 @@ Language: id
     <string name="woopos_variations_loading_error_title">Error saat memuat variasi</string>
     <string name="woopos_variations_screen_pagination_error">\"Gagal memuat item lain. Harap coba lagi.\"</string>
     <string name="woopos_variations_back_content_description">Kembali</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d variasi</string>
     <string name="woopos_variation_item_content_description">Variasi %s, Harga %s</string>
     <string name="woopos_variable_product_item_content_description">Produk Variabel %s, Harga %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">Deskripsi tidak boleh kosong</string>
diff --git a/WooCommerce/src/main/res/values-it/strings.xml b/WooCommerce/src/main/res/values-it/strings.xml
index 32831266726..12b44c171bd 100644
--- a/WooCommerce/src/main/res/values-it/strings.xml
+++ b/WooCommerce/src/main/res/values-it/strings.xml
@@ -9,7 +9,6 @@ Language: it
     <string name="woopos_variations_loading_error_title">Errore nel caricamento delle varianti</string>
     <string name="woopos_variations_screen_pagination_error">\"Impossibile caricare altri articoli. Riprova\".</string>
     <string name="woopos_variations_back_content_description">Indietro</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d varianti</string>
     <string name="woopos_variation_item_content_description">Variante %s, prezzo %s</string>
     <string name="woopos_variable_product_item_content_description">Prodotto variabile %s, prezzo %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">La descrizione non può essere vuota</string>
diff --git a/WooCommerce/src/main/res/values-ja/strings.xml b/WooCommerce/src/main/res/values-ja/strings.xml
index ee7500ef718..f2930d04c73 100644
--- a/WooCommerce/src/main/res/values-ja/strings.xml
+++ b/WooCommerce/src/main/res/values-ja/strings.xml
@@ -9,7 +9,6 @@ Language: ja_JP
     <string name="woopos_variations_loading_error_title">バリエーションの読み込み中にエラーが発生しました</string>
     <string name="woopos_variations_screen_pagination_error">「その他のアイテムの読み込みに失敗しました。 もう一度実行してください」</string>
     <string name="woopos_variations_back_content_description">戻る</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d個のバリエーション</string>
     <string name="woopos_variation_item_content_description">バリエーション %s、価格 %s</string>
     <string name="woopos_variable_product_item_content_description">バリエーションのある商品 %s、価格 %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">説明を空にすることはできません</string>
diff --git a/WooCommerce/src/main/res/values-ko/strings.xml b/WooCommerce/src/main/res/values-ko/strings.xml
index 0fb2fed8394..a27563d9001 100644
--- a/WooCommerce/src/main/res/values-ko/strings.xml
+++ b/WooCommerce/src/main/res/values-ko/strings.xml
@@ -9,7 +9,6 @@ Language: ko_KR
     <string name="woopos_variations_loading_error_title">상품 옵션 로드 오류</string>
     <string name="woopos_variations_screen_pagination_error">\"아이템을 더 로드하지 못했습니다. 다시 시도하세요”</string>
     <string name="woopos_variations_back_content_description">뒤로</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d개 변형</string>
     <string name="woopos_variation_item_content_description">상품 옵션 %s, 가격 %s</string>
     <string name="woopos_variable_product_item_content_description">변형 상품 %s, 가격 %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">설명은 비워 둘 수 없음</string>
diff --git a/WooCommerce/src/main/res/values-nl/strings.xml b/WooCommerce/src/main/res/values-nl/strings.xml
index d203d1c0d62..59d2e39c6f0 100644
--- a/WooCommerce/src/main/res/values-nl/strings.xml
+++ b/WooCommerce/src/main/res/values-nl/strings.xml
@@ -9,7 +9,6 @@ Language: nl
     <string name="woopos_variations_loading_error_title">Fout bij laden van variaties</string>
     <string name="woopos_variations_screen_pagination_error">\'Meer items laden mislukt. Probeer het opnieuw.\'</string>
     <string name="woopos_variations_back_content_description">Terug</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d variaties</string>
     <string name="woopos_variation_item_content_description">Variatie %s, prijs %s</string>
     <string name="woopos_variable_product_item_content_description">Variabel product %s, prijs %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">De omschrijving mag niet leeg zijn</string>
diff --git a/WooCommerce/src/main/res/values-pt-rBR/strings.xml b/WooCommerce/src/main/res/values-pt-rBR/strings.xml
index dab2171bbd0..484546ca10b 100644
--- a/WooCommerce/src/main/res/values-pt-rBR/strings.xml
+++ b/WooCommerce/src/main/res/values-pt-rBR/strings.xml
@@ -9,7 +9,6 @@ Language: pt_BR
     <string name="woopos_variations_loading_error_title">Erro ao carregar variações</string>
     <string name="woopos_variations_screen_pagination_error">\"Falha ao carregar mais itens. Tente novamente.\"</string>
     <string name="woopos_variations_back_content_description">Voltar</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d variações</string>
     <string name="woopos_variation_item_content_description">Variação: %s; preço: %s</string>
     <string name="woopos_variable_product_item_content_description">Produto variável: %s; preço: %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">A descrição não pode ficar em branco</string>
diff --git a/WooCommerce/src/main/res/values-ru/strings.xml b/WooCommerce/src/main/res/values-ru/strings.xml
index 335712315fb..4f6eb404da8 100644
--- a/WooCommerce/src/main/res/values-ru/strings.xml
+++ b/WooCommerce/src/main/res/values-ru/strings.xml
@@ -9,7 +9,6 @@ Language: ru
     <string name="woopos_variations_loading_error_title">Ошибка при загрузке вариантов</string>
     <string name="woopos_variations_screen_pagination_error">«Не удалось загрузить другие товары. Повторите попытку».</string>
     <string name="woopos_variations_back_content_description">Назад</string>
-    <string name="woopos_items_list_variable_product_variations">Вариантов: %1$d</string>
     <string name="woopos_variation_item_content_description">Вариант %s, цена %s</string>
     <string name="woopos_variable_product_item_content_description">Товар с вариантами %s, цена %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">Описание не может быть пустым</string>
diff --git a/WooCommerce/src/main/res/values-sv/strings.xml b/WooCommerce/src/main/res/values-sv/strings.xml
index 6a81ae85aa3..d72bc9a7219 100644
--- a/WooCommerce/src/main/res/values-sv/strings.xml
+++ b/WooCommerce/src/main/res/values-sv/strings.xml
@@ -9,7 +9,6 @@ Language: sv_SE
     <string name="woopos_variations_loading_error_title">Ett fel uppstod när variationer hämtades</string>
     <string name="woopos_variations_screen_pagination_error">\"Det gick inte att ladda fler objekt. Försök igen.\"</string>
     <string name="woopos_variations_back_content_description">Tillbaka</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d variationer</string>
     <string name="woopos_variation_item_content_description">Variation %s, Pris %s</string>
     <string name="woopos_variable_product_item_content_description">Variabel produkt%s, Pris %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">Beskrivning kan inte vara tom</string>
diff --git a/WooCommerce/src/main/res/values-tr/strings.xml b/WooCommerce/src/main/res/values-tr/strings.xml
index 1a9dfaabcba..b56de0d2358 100644
--- a/WooCommerce/src/main/res/values-tr/strings.xml
+++ b/WooCommerce/src/main/res/values-tr/strings.xml
@@ -9,7 +9,6 @@ Language: tr
     <string name="woopos_variations_loading_error_title">Varyasyonlar yüklenirken hata oluştu</string>
     <string name="woopos_variations_screen_pagination_error">\"Daha fazla öğe yüklenemedi. Lütfen yeniden deneyin.\"</string>
     <string name="woopos_variations_back_content_description">Geri</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d varyasyon</string>
     <string name="woopos_variation_item_content_description">%s Varyasyon, %s Fiyat</string>
     <string name="woopos_variable_product_item_content_description">%s Varyasyonlu Ürün, %s Fiyat</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">Açıklama boş olamaz</string>
diff --git a/WooCommerce/src/main/res/values-zh-rCN/strings.xml b/WooCommerce/src/main/res/values-zh-rCN/strings.xml
index 065c812ae2c..74d9b3e755b 100644
--- a/WooCommerce/src/main/res/values-zh-rCN/strings.xml
+++ b/WooCommerce/src/main/res/values-zh-rCN/strings.xml
@@ -9,7 +9,6 @@ Language: zh_CN
     <string name="woopos_variations_loading_error_title">加载变体时出错</string>
     <string name="woopos_variations_screen_pagination_error">“无法加载更多项目。 请重试。”</string>
     <string name="woopos_variations_back_content_description">返回</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d 个变体</string>
     <string name="woopos_variation_item_content_description">变体 %s,价格 %s</string>
     <string name="woopos_variable_product_item_content_description">可变产品 %s,价格 %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">描述不能为空</string>
diff --git a/WooCommerce/src/main/res/values-zh-rTW/strings.xml b/WooCommerce/src/main/res/values-zh-rTW/strings.xml
index b3e59461dcf..71e5be4aad7 100644
--- a/WooCommerce/src/main/res/values-zh-rTW/strings.xml
+++ b/WooCommerce/src/main/res/values-zh-rTW/strings.xml
@@ -9,7 +9,6 @@ Language: zh_TW
     <string name="woopos_variations_loading_error_title">載入款式時發生錯誤</string>
     <string name="woopos_variations_screen_pagination_error">「無法載入更多項目, 請再試一次。」</string>
     <string name="woopos_variations_back_content_description">返回</string>
-    <string name="woopos_items_list_variable_product_variations">%1$d 種款式</string>
     <string name="woopos_variation_item_content_description">款式 %s,價格 %s</string>
     <string name="woopos_variable_product_item_content_description">多款式商品 %s,價格 %s</string>
     <string name="blaze_campaign_edit_ad_change_description_empty_error">說明不得空白</string>
diff --git a/WooCommerce/src/main/res/values/strings.xml b/WooCommerce/src/main/res/values/strings.xml
index 7e1f5dab96f..f748291b41f 100644
--- a/WooCommerce/src/main/res/values/strings.xml
+++ b/WooCommerce/src/main/res/values/strings.xml
@@ -4354,7 +4354,6 @@
     <string name="woopos_floating_toolbar_pop_up_menu_open_content_description">Popup menu with options. Swipe to navigate through items.</string>
     <string name="woopos_no_internet_message">It looks like you\'re not connected to the internet. Ensure your Wi-Fi is turned on. If you\'re using mobile data, make sure it\'s enabled in your device settings.</string>
 
-    <string name="woopos_items_list_variable_product_variations">%1$d variations</string>
     <string name="woopos_variations_back_content_description">Back</string>
     <string name="woopos_items_pagination_try_again_label">Try again</string>
     <string name="woopos_items_pagination_error_title">"Failed to load more items"</string>
diff --git a/fastlane/resources/values/strings.xml b/fastlane/resources/values/strings.xml
index 562efb694e8..dcf992ef667 100644
--- a/fastlane/resources/values/strings.xml
+++ b/fastlane/resources/values/strings.xml
@@ -4345,7 +4345,6 @@
     <string name="woopos_floating_toolbar_pop_up_menu_open_content_description">Popup menu with options. Swipe to navigate through items.</string>
     <string name="woopos_no_internet_message">It looks like you\'re not connected to the internet. Ensure your Wi-Fi is turned on. If you\'re using mobile data, make sure it\'s enabled in your device settings.</string>
 
-    <string name="woopos_items_list_variable_product_variations">%1$d variations</string>
     <string name="woopos_variations_back_content_description">Back</string>
     <string name="woopos_items_pagination_try_again_label">Try again</string>
     <string name="woopos_items_pagination_error_title">"Failed to load more items"</string>