Ankündigung

Einklappen
Keine Ankündigung bisher.

EAN Feld einfügen

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    EAN Feld einfügen

    hallo,

    ich versuche herauszufinden, wie man einem artikel ein neues feld zuweist. ich brauche den EAN code für alle meine produkte. leider habe ich hier im forum keine antwort gefunden. kann mir jemand sagen, wie ich das hinbekomme.

    vielen dank für euere hilfe !

    aha.

    #2
    Am einfachsten geht das mit Numinix Product Fields, da kannst Du anlegen, was immer Du willst:
    Numinix Product Fields (NPF) enables additional fields in the product pages in the Zen Cart admin. Fields are added for the following modules: Numinix Barcodes Canada Post Shipping Module Google Merchant Center Feeder Product Handling Fees Store Credit and Reward Points This package includes many optional fields that serve a specific purpose and can be displayed

    Kommentar


      #3
      Vielen Dank!
      Das muss ich unbedingt ausprobieren!
      Wollte schon die EAN unter den Artikeltext schreiben (lassen) - doch per Extrafeld ist das natürlich viel eleganter, schöner.

      Gruss aus der Schweiz
      ralf

      Kommentar


        #4
        Ab sofort ist in den Downloads eine Erweiterung für das EAN Feld verfügbar:
        EAN Feld für Zen-Cart 1.3.9 deutsch

        Kommentar


          #5
          EAN in Suche integrieren

          Im Voraus: Kein Gewähr, Backup machen vor jeder Änderung!!!

          Um nach dem neuen Feld suchen zu können muss in der Datei:
          includes/modules/pages/advanced_search_result/header.php ca. Zeile 206
          Code:
          $select_str = "SELECT DISTINCT " . $select_column_list .
                        " m.manufacturers_id, p.products_id, pd.products_name, [COLOR=Red]p.products_ean,[/COLOR] p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status, p.master_categories_id ";
          eingefügt werden und ca. Zeile 310
          Code:
                  $where_str .= "(pd.products_name LIKE '%:keywords%'
                                                   OR p.products_model
                                                   LIKE '%:keywords%'
                                                   OR m.manufacturers_name
                                                   LIKE '%:keywords%'
                                                   [COLOR=Red]OR p.products_ean
                                                   LIKE '%:keywords%'[COLOR=Black]"[/COLOR][/COLOR];
          ebenfalls zugefügt werden.
          Zuletzt geändert von Alex; 05.12.2011, 08:39. Grund: Da war doch noch was...

          Kommentar


            #6
            EAN bei Funktion 'Artikel kopieren' einfügen.

            Im Voraus: Kein Gewähr, Backup machen vor jeder Änderung, Datenbank ebenfalls sichern!!!
            Um den EAN-Code oder andere eigene Felder automatisch zu kopieren muss die jeweilige vom Artikeltyp abhängige Datei
            DEINADMINVERZEICHNIS/includes/modules/copy_to_confirm.php bzw.
            DEINADMINVERZEICHNIS/includes/modules/product_music/copy_to_confirm.php etc. in etwa so angepasst werden:

            ca Zeile 35
            Code:
            $product = $db->Execute("select products_type, products_quantity, products_model, products_image,
                                                        products_price, products_virtual, products_date_available, products_weight,
                                                        products_tax_class_id, manufacturers_id,
                                                        products_quantity_order_min, products_quantity_order_units, products_priced_by_attribute,
                                                        product_is_free, product_is_call, products_quantity_mixed,
                                                        product_is_always_free_shipping, products_qty_box_status, products_quantity_order_max, products_sort_order,
                                                        products_price_sorter, master_categories_id[COLOR=Red], products_ean[/COLOR]
                                                 from " . TABLE_PRODUCTS . "
                                                 where products_id = '" . (int)$products_id . "'");
            ca. Zeile 53
            Code:
                        $db->Execute("insert into " . TABLE_PRODUCTS . "
                                                  (products_type, products_quantity, products_model, products_image,
                                                   products_price, products_virtual, products_date_added, products_date_available,
                                                   products_weight, products_status, products_tax_class_id,
                                                   manufacturers_id,
                                                   products_quantity_order_min, products_quantity_order_units, products_priced_by_attribute,
                                                   product_is_free, product_is_call, products_quantity_mixed,
                                                   product_is_always_free_shipping, products_qty_box_status, products_quantity_order_max, products_sort_order,
                                                   products_price_sorter, master_categories_id[COLOR=Red], products_ean[/COLOR]
                                                   )
            ca Zeile 64
            Code:
                                      values ('" . zen_db_input($product->fields['products_type']) . "',
                                              '" . $products_quantity . "',
                                              '" . zen_db_input($product->fields['products_model']) . "',
                                              '" . zen_db_input($product->fields['products_image']) . "',
                                              '" . $products_price . "',
                                              '" . zen_db_input($product->fields['products_virtual']) . "',
                                              now(),
                                              '" . (zen_not_null(zen_db_input($product->fields['products_date_available'])) ? zen_db_input($product->fields['products_date_available']) : '0001-01-01 00:00:00') . "',
                                              '" . $products_weight . "', '0',
                                              '" . (int)$product->fields['products_tax_class_id'] . "',
                                              '" . (int)$product->fields['manufacturers_id'] . "',
                                              '" . zen_db_input($product->fields['products_quantity_order_min']) . "',
                                              '" . zen_db_input($product->fields['products_quantity_order_units']) . "',
                                              '" . zen_db_input($product->fields['products_priced_by_attribute']) . "',
                                              '" . (int)$product->fields['product_is_free'] . "',
                                              '" . (int)$product->fields['product_is_call'] . "',
                                              '" . (int)$product->fields['products_quantity_mixed'] . "',
                                              '" . zen_db_input($product->fields['product_is_always_free_shipping']) . "',
                                              '" . zen_db_input($product->fields['products_qty_box_status']) . "',
                                              '" . zen_db_input($product->fields['products_quantity_order_max']) . "',
                                              '" . zen_db_input($product->fields['products_sort_order']) . "',
                                              '" . zen_db_input($product->fields['products_price_sorter']) . "',
                                              '" . zen_db_input($categories_id) .[COLOR=Red] "',
                                              '" . zen_db_input($product->fields['products_ean']) [/COLOR].
                                              "')");
            einfügen.
            Wichtig: Die Änderung im dritten Abschnitt muss genau am richtigen Ort eingefügt werden, da sich sonst die Feldwerte in der DB verschieben!!!

            Kommentar


              #7
              Danke.
              In dem Google Merchant Center Modul, das auch das EAN Feld enthält, ist das schon immer integriert, werde auch das EAN-Modul damit aktualisieren. Auch mit der Suchfunktion.

              Kommentar

              Info zu diesem Forenarchiv:
              Mit Release von 1.5.7 wurde die deutsche Zen Cart Version auf eine reine DIY-Lösung umgestellt.
              Für einen Support via Forum stehen keine personellen und zeitlichen Ressourcen mehr zur Verfügung.
              Dieses Supportforum bleibt im Nur-Lesen-Modus als Wissensarchiv noch online verfügbar.
              PM Funktionalität, Registrierung und Posten neuer Beiträge sind deaktiviert.
              Zugriff auf Anhänge in den Postings ist auch ohne Registrierung/Einloggen möglich.
              FAQ und Downloadbereich des Forums wurden in die neue umfangreiche Knowledgebase auf der zen-cart-pro.at Website übernommen.

              Das Development der deutschen Zen Cart Version geht wie bisher auf Github weiter.
              Wir werden auch weiterhin neue Versionen bereitstellen und die Onlinedokumentation/Knowledgebase aktualisieren.
              Fehler in der Software können auf Github als Issues gemeldet werden.
              Follow us
              aktuelle version
              Zen Cart 1.5.7g deutsch
              vom 12.12.2023
              [Download]
              Lädt...
              X