Loading commerce_simple_stock.module +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ function commerce_simple_stock_form_commerce_order_item_add_to_cart_form_alter(& if ($stock <= 0) { $form['quantity'] = NULL; $form['actions'] = NULL; $form['actions']['#access'] = FALSE; $form['outofstock'] = [ '#type' => 'textfield', '#value' => t('Out of Stock'), Loading Loading
commerce_simple_stock.module +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ function commerce_simple_stock_form_commerce_order_item_add_to_cart_form_alter(& if ($stock <= 0) { $form['quantity'] = NULL; $form['actions'] = NULL; $form['actions']['#access'] = FALSE; $form['outofstock'] = [ '#type' => 'textfield', '#value' => t('Out of Stock'), Loading