languages)) : foreach ($this->languages as $lg) : ?>
  • '; ?>
languages)) : foreach ($this->languages as $lg) : ?> languages)) foreach ($this->languages as $lg_tmp) { if ($lg_tmp['id'] != $lg['id']) $languages[$lg_tmp['id']] = $lg_tmp['name']; } ?>
'Wyświetlaj treść z wersji', 'name' => 'copy_from[' . $lg['id'] . ']', 'values' => $languages, 'value' => $this->product['languages'][$lg['id']]['copy_from'], ) ); ?> 'Nazwa', 'name' => 'name[' . $lg['id'] . ']', 'id' => 'name_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['name'], 'inline' => true ) ); ?> 'Komunikat gdy stan magazynowy równy 0', 'name' => 'warehouse_message_zero[' . $lg['id'] . ']', 'id' => 'warehouse_message_zero_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['warehouse_message_zero'], 'inline' => true ) ); ?> 'Komunikat gdy stan magazynowy większy niż 0', 'name' => 'warehouse_message_nonzero[' . $lg['id'] . ']', 'id' => 'warehouse_message_nonzero_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['warehouse_message_nonzero'], 'inline' => true ) ); ?> 'Krótki opis', 'name' => 'short_description[' . $lg['id'] . ']', 'id' => 'short_description_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['short_description'], 'inline' => true ) ); ?> 'Opis', 'name' => 'description[' . $lg['id'] . ']', 'id' => 'description_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['description'], 'inline' => true ) ); ?>
    languages)) : foreach ($this->languages as $lg) : ?>
  • '; ?>
languages)) : foreach ($this->languages as $lg) : ?> languages)) foreach ($this->languages as $lg_tmp) { if ($lg_tmp['id'] != $lg['id']) $languages[$lg_tmp['id']] = $lg_tmp['name']; } ?>
'Nazwa zakładki (1)', 'name' => 'tab_name_1[' . $lg['id'] . ']', 'id' => 'tab_name_1_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['tab_name_1'], 'inline' => true ) ); ?> 'Zawartość zakładki (1)', 'name' => 'tab_description_1[' . $lg['id'] . ']', 'id' => 'tab_description_1_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['tab_description_1'], 'inline' => true ) ); ?> 'Nazwa zakładki (2)', 'name' => 'tab_name_2[' . $lg['id'] . ']', 'id' => 'tab_name_2_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['tab_name_2'], 'inline' => true ) ); ?> 'Zawartość zakładki (2)', 'name' => 'tab_description_2[' . $lg['id'] . ']', 'id' => 'tab_description_2_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['tab_description_2'], 'inline' => true ) ); ?>
'VAT (%)', 'name' => 'vat', 'id' => 'vat', 'class' => 'int-format', 'value' => $this->product['id'] ? $this->product['vat'] : 23, 'onchange' => 'calculate_price_brutto(); return false;' ) ); ?> 'Cena netto (PLN)', 'name' => 'price_netto', 'id' => 'price_netto', 'class' => 'number-format', 'value' => $this->product['price_netto'], 'onchange' => 'calculate_price_brutto(); return false;' ) ); ?> 'Cena brutto (PLN)', 'name' => 'price_brutto', 'id' => 'price_brutto', 'class' => 'number-format', 'value' => $this->product['price_brutto'], 'onchange' => 'calculate_price_netto(); return false;' ) ); ?> 'Promocyjna cena netto (PLN)', 'name' => 'price_netto_promo', 'id' => 'price_netto_promo', 'class' => 'number-format', 'value' => $this->product['price_netto_promo'], 'onchange' => 'calculate_price_brutto_promo(); return false;' ) ); ?> 'Promocyjna cena brutto (PLN)', 'name' => 'price_brutto_promo', 'id' => 'price_brutto_promo', 'class' => 'number-format', 'value' => $this->product['price_brutto_promo'], 'onchange' => 'calculate_price_netto_promo(); return false;' ) ); ?> units as $unit) $units[$unit['id']] = $unit['text']; ?> 'Jednostka miary', 'name' => 'product_unit', 'id' => 'product_unit', 'values' => $units, 'value' => $this->product['product_unit_id'] ]); ?> 'Waga/pojemność', 'name' => 'weight', 'id' => 'weight', 'class' => 'number-format', 'value' => $this->product['weight'] ]); ?>
'Stan magazynowy', 'name' => 'quantity', 'id' => 'quantity', 'class' => 'int-format', 'value' => $this->product['quantity'] ]); ?> 'Pozwól zamawiać gdy stan 0', 'name' => 'stock_0_buy', 'checked' => $this->product['stock_0_buy'] == 1 ? true : false ]); ?> 'Współczynnik WP', 'name' => 'wp', 'id' => 'wp', 'class' => 'number-format', 'value' => $this->product['wp'] ]); ?> 'Kod SKU', 'name' => 'sku', 'id' => 'sku', 'value' => $this->product['sku'], 'icon_content' => 'generuj', 'icon_js' => 'generate_sku_code( ' . (int)$this->product['id'] . ' );' ]); ?> 'EAN', 'name' => 'ean', 'id' => 'ean', 'value' => $this->product['ean'] ]); ?>
'Widoczny', 'name' => 'status', 'checked' => $this->product['status'] == 1 or !$this->product['id'] ? true : false ]); ?> 'Promowany', 'name' => 'promoted', 'checked' => $this->product['promoted'] == 1 ? true : false ]); ?> 'Nowość do dnia', 'name' => 'new_to_date', 'id' => 'new_to_date', 'class' => 'date', 'value' => $this->product['new_to_date'] ]); ?> 'Wyświetlaj pole na dodatkową wiadomość', 'name' => 'additional_message', 'checked' => $this->product['additional_message'] == 1 ? true : false ]); ?> 'Dodatkowa wiadomość jest wymagana', 'name' => 'additional_message_required', 'checked' => $this->product['additional_message_required'] == 1 ? true : false ]); ?> 'Dodatkowa wiadomość (treść komunikatu)', 'name' => 'additional_message_text', 'id' => 'additional_message_text', 'value' => $this->product['additional_message_text'] ]); ?> producers as $producer) $producers[$producer['id']] = $producer['name']; ?> 'Producent', 'name' => 'producer_id', 'id' => 'producer_id', 'values' => $producers, 'value' => $this->product['producer_id'] ]); ?>
    languages)) : foreach ($this->languages as $lg) : ?>
  • '; ?>
languages)) : foreach ($this->languages as $lg) : ?>
'Link SEO', 'name' => 'seo_link[' . $lg['id'] . ']', 'id' => 'seo_link_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['seo_link'], 'icon_content' => 'generuj', 'icon_js' => 'generate_seo_links( "' . $lg['id'] . '", $( "#name_' . $lg['id'] . '" ).val(), ' . (int)$this->product['id'] . ' );' ) ); ?> 'Meta title', 'name' => 'meta_title[' . $lg['id'] . ']', 'id' => 'meta_title_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['meta_title'] ]); ?> 'Meta description', 'name' => 'meta_description[' . $lg['id'] . ']', 'id' => 'meta_description_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['meta_description'] ) ); ?> 'Meta keywords', 'name' => 'meta_keywords[' . $lg['id'] . ']', 'id' => 'meta_keywords_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['meta_keywords'] ) ); ?> 'Canonical', 'name' => 'canonical[' . $lg['id'] . ']', 'id' => 'canonical_' . $lg['id'], 'value' => $this->product['languages'][$lg['id']]['canonical'] ]); ?>
layouts)) : foreach ($this->layouts as $layout) : $layouts[$layout['id']] = $layout['name']; endforeach; endif; ?> 'Szablon', 'name' => 'layout_id', 'id' => 'layout_id', 'values' => $layouts, 'value' => $this->product['layout_id'] ]); ?>
    product['images'])) : foreach ($this->product['images'] as $img) : ?>
You browser doesn't have Flash installed.
    product['files'])) : foreach ($this->product['files'] as $file) : if ($file['name']) $name = $file['name']; else { $name = explode('/', $file['src']); $name = $name[count($name) - 1]; } ?>
You browser doesn't have Flash installed.
languages)) : foreach ($this->languages as $lg) : ?>
'Custom label 0', 'name' => 'custom_label_0', 'id' => 'custom_label_0', 'value' => $this->product['custom_label_0'] ]); ?> 'Custom label 1', 'name' => 'custom_label_1', 'id' => 'custom_label_1', 'value' => $this->product['custom_label_1'] ]); ?> 'Custom label 2', 'name' => 'custom_label_2', 'id' => 'custom_label_2', 'value' => $this->product['custom_label_2'] ]); ?> 'Custom label 3', 'name' => 'custom_label_3', 'id' => 'custom_label_3', 'value' => $this->product['custom_label_3'] ]); ?> 'Custom label 4', 'name' => 'custom_label_4', 'id' => 'custom_label_4', 'value' => $this->product['custom_label_4'] ]); ?>
dodaj niestandardowe pole
product['custom_fields'] ) ) : foreach ( $this -> product['custom_fields'] as $field ):?>
usuń
id = 'product-edit'; $grid->gdb_opt = $gdb; $grid->include_plugins = true; $grid->title = $this->product['id'] ? 'Edycja produktu: ' . $this->product['languages'][\front\factory\Languages::default_language()]['name'] . '' : 'Edycja produktu'; $grid->fields = [ [ 'db' => 'id', 'type' => 'hidden', 'value' => $this->product['id'] ] ]; $grid->actions = [ 'save' => ['url' => '/admin/shop_product/save/', 'back_url' => '/admin/shop_product/view_list/'], 'cancel' => ['url' => '/admin/shop_product/view_list/'] ]; $grid->buttons = [ [ 'label' => 'Podgląd', 'id' => 'product-preview', 'url' => '#', 'icon' => 'fa-search', 'class' => 'btn-primary' ] ]; $grid->external_code = $out; $grid->persist_edit = true; $grid->id_param = 'id'; echo $grid->draw(); ?>