view['oProduct'];
?>
view['oProduct']['loadedData']['id/product_key']
$key = $this->view['oProduct']->id;
if ($this->callMod('wpsg_mod_productvariants', 'isVariantsProduct', array($key)) == true)
{
//echo wpsg_drawForm_Input('wpsg_mod_stock_stock', __('Lagerbestand', 'wpsg'), wpsg_getStr($this->view['data']['stock']), array('readonly' => true));
} else {
//echo wpsg_drawForm_Input('wpsg_mod_stock_stock', __('Lagerbestand', 'wpsg'), wpsg_getStr($this->view['data']['stock']), array());
}
echo wpsg_drawForm_Input('wpsg_mod_stock_stock', __('Lagerbestand', 'wpsg'), wpsg_getStr($this->view['data']['stock']), array());
?>
view['data']['stock_count'], '0')); ?>
hasMod('wpsg_mod_productvariants')) { ?>
wpsg_translate(
__('Voreinstellung (#1#)', 'wpsg'),
(($this->get_option('wpsg_vp_product_stock_nocalc') === '1')?'nicht berechnen':'berechnen')
),
'2' => __('berechnen', 'wpsg'),
'1' => __('nicht berechnen', 'wpsg')
], $oProduct->getMeta('wpsg_vp_product_stock_nocalc'), [
'hint' => __('Ist hier "berechnen" eingestellt, wird beim Ändern des Bestandes einer Variante der Bestand im Produkt aus den Varianten ermittelt. (Lagerbestand im Produkt = Bestand(Variante 1) + Bestand(Variante 2) + ... )', 'wpsg')
]); ?>
wpsg_translate(
__('Voreinstellung (#1#)', 'wpsg'),
(($this->get_option('wpsg_vp_product_stock_varinotchange') === '1')?'nicht verringern':'verringern')
),
'2' => __('verringern', 'wpsg'),
'1' => __('nicht verringern', 'wpsg')
], $oProduct->getMeta('wpsg_vp_product_stock_varinotchange'), [
'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', 'wpsg'),
'1' => __('Produktbestand', 'wpsg')
], $oProduct->getMeta('wpsg_vp_product_stock_display'), [
'hint' => __('Bestimmt ob der Variantenbestand (Produktbestand + Variantenbestand) oder nur der Produktbestand im Frontend angezeigt werden soll.', 'wpsg')
]); ?>
get_option('wpsg_mod_stock_minstockproduct') == '1') { ?>
view['data']['minstockproduct_count'])); ?>
view['data']['minstockproduct_mail'])); ?>