From a44accbac054db8cd9cceeffc3f5086ab1190c47 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Tue, 17 Sep 2024 13:26:02 +0000 Subject: - Optionale Produktbestandsanzeige git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8430 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_stock/product_addedit_content.phtml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'views/mods/mod_stock') diff --git a/views/mods/mod_stock/product_addedit_content.phtml b/views/mods/mod_stock/product_addedit_content.phtml index ede1099..d7b3f63 100644 --- a/views/mods/mod_stock/product_addedit_content.phtml +++ b/views/mods/mod_stock/product_addedit_content.phtml @@ -52,6 +52,17 @@ 'hint' => __('Ist hier "nicht verringern" aktiviert, so wird der Bestand in der Variante beim Kauf nicht reduziert.', 'wpsg') ]); ?> + wpsg_translate( + __('Voreinstellung (#1#)', 'wpsg'), + (($this->get_option('wpsg_vp_product_stock_display') === '1')?'Produktbestand':'Variantenbestand') + ), + '2' => __('Variantenbestand'), + '1' => __('Produktbestand') + ], $oProduct->getMeta('wpsg_vp_product_stock_display'), [ + 'hint' => __('Bestimmt ob der Variantenbestand (Produktbestand + Variantenbestand) oder nur der Produktbestand im Frontend angezeigt werden soll.', 'wpsg') + ]); ?> + -- cgit v1.2.3