koppel24 Posted July 2, 2023 Share Posted July 2, 2023 Moin aus dem Norden, beim Inport gehen alle nötigen Felder bis auf das Feld: "Verkaufspreis pro Einheit". Der Preis den ich importiere wird nicht übernommen. Ist der Fehler bekannt? Gefunden habe ich nichts darüber. Vers. 1.7.8.9 Link to comment Share on other sites More sharing options...
Nickz Posted July 2, 2023 Share Posted July 2, 2023 58 minutes ago, koppel24 said: beim Inport gehen alle nötigen Felder bis auf das Feld: "Verkaufspreis pro Einheit". Moin moin zurück. Auf einmal oder wie ist das? Ging beim letzen Mal (Datum ungefähr) noch und nun nicht mehr? Link to comment Share on other sites More sharing options...
koppel24 Posted July 2, 2023 Author Share Posted July 2, 2023 Das hab ich heute erst versucht und geht nicht. Link to comment Share on other sites More sharing options...
Nickz Posted July 2, 2023 Share Posted July 2, 2023 Hmm ist eine Neuinstallation? Brandneu und das erste Mal, Eine Aktualisierung eines Shop der lief, nicht lief, gekauft wurde? Umgezogen ist von einem anderen Hoster, was immer da vorfiel hilft. Link to comment Share on other sites More sharing options...
koppel24 Posted July 2, 2023 Author Share Posted July 2, 2023 (edited) Neuistallation, PHP 7.4.33, Import aller anderen Felder funktionieren, ( das Feld : Grundpreis) ist doch richtig oder? Die "Maßeiheit" wird ja auch übernommen. Edited July 2, 2023 by koppel24 (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted July 2, 2023 Share Posted July 2, 2023 1 hour ago, koppel24 said: Import aller anderen Felder funktionieren Was soviel bedeutet das die Datenbank im nachherein befüllt wurde? Welches Toll nutz du dafür? Kommt im Tool auch die Relation (oder das Feld) vor? Link to comment Share on other sites More sharing options...
koppel24 Posted July 2, 2023 Author Share Posted July 2, 2023 Ich benutze die Artikelimport Funktion von Ps. Ich finde auch mit der Suchfunktion phpMyAdmin nicht das Feld in der SQL-Datenbank. Habe dafür 1.1234 in das Eingabefeld (Verkaufspreis pro Einheit) im Preis-Reiter bei Ps benutzt. Speichern und anzeigen macht er. Da ich mir eine App mit Filemaker geschrieben habe, wollte ich vielleicht im Nachgang per ODBC den Einheitenpreis nachtragen, doch dafür benötige ich das SQL-Feld der Datenbank. Weder netto noch brutto finde ich in der DB. Link to comment Share on other sites More sharing options...
Nickz Posted July 2, 2023 Share Posted July 2, 2023 10 minutes ago, koppel24 said: Weder netto noch brutto finde ich in der DB. Mache einen Backup der Datenbank und probiera aus wo die Tabelle reinmuss. Evetuell muss in PS auch noch ein Hook eingefügt werden. Link to comment Share on other sites More sharing options...
koppel24 Posted July 2, 2023 Author Share Posted July 2, 2023 Das verstehe ich nicht. Wenn PS doch die Daten beim Artikel abspeichert, muss es doch in der SQL zu finden sein. Alle anderen Werte finde ich doch auch, nur den einen Wert nicht. Bin im Moment dabei die Beziehungen zu analysieren um alle Tabellen unter die Lupe zu nehmen, oder kannst du mir die Tabelle und das Feld sagen? Link to comment Share on other sites More sharing options...
rictools Posted July 2, 2023 Share Posted July 2, 2023 Bei meinem 1.6 findet sich unit_price_ratio in der Tabelle _product. Link to comment Share on other sites More sharing options...
koppel24 Posted July 2, 2023 Author Share Posted July 2, 2023 21 minutes ago, rictools said: Bei meinem 1.6 findet sich unit_price_ratio in der Tabelle _product. Das ist bei mir der Verkaufspreis (exkl. MwSt.) Ich suche den "Unit_Price". Link to comment Share on other sites More sharing options...
rictools Posted July 3, 2023 Share Posted July 3, 2023 vor 9 Stunden schrieb koppel24: Das ist bei mir der Verkaufspreis (exkl. MwSt.) Ich suche den "Unit_Price". Das ist auf jeden Fall das Feld für den Grundpreis, ist ja auch so benannt, es kann allenfalls sein, dass da der identische Betrag eingetragen ist (vielleicht ein neuer Bug?). Überprüfe doch einmal, ob du die Felder beim Import korrekt verknüpfst. Und teste, was geschieht, wenn du den Grundpreis im BackOffice eingibst. Link to comment Share on other sites More sharing options...
koppel24 Posted July 24, 2023 Author Share Posted July 24, 2023 (edited) So, bin wieder zurück aus dem Urlaub. Also: Das Feld "unit_price_ratio" gibt den Grundpreisfaktor vom Artikelpreis an. Beispiel: 2 Liter Milch kosten 2€ Brutto -> 1,68 Netto. Wenn dann der "Preis pro Einheit" im BO auf 0,84 gesetzt wird, erscheint beim Feld "unit_price_ratio" eine "2". Das heist der Teilungsfaktor 2 bezieht sich auf die 0,84 zu 1,68. Es scheint das hier das Eingabefeld im BO direkt den Faktor ausrechent und in die SQL schreibt. Somit funktioniert es leider nich in entgegengesetzter Richtung. Eine manuelle Änderrung vom Feld "unit_price_ratio" in eine "2", hat keine Auswirkung auf den "Preis pro Einheit". Ich finde aber in allen SQL-Tabellen kein Feld mit dem Wert: 0,84 (auch nicht mit Punkt statt Komma) Hat noch jemand eine Idee? Edited July 24, 2023 by koppel24 (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted July 24, 2023 Share Posted July 24, 2023 5 hours ago, koppel24 said: Ich finde aber in allen SQL-Tabellen kein Feld mit dem Wert: 0,84 (auch nicht mit Punkt statt Komma) Wie suchst du denn? Was sind deine Kenntnisse von SQL/Mysql??? Link to comment Share on other sites More sharing options...
rictools Posted July 24, 2023 Share Posted July 24, 2023 Es gibt in der Datenbank nur das Feld unit_price_ratio, der Preis wird beim Schreiben von der Datenbank in den Shop sowie beim Eintragen des Grundpreises im BackOffice rechnerisch ermittelt. Wie ein kurzes Googlen zeigt, gibt es wohl schon lange Probleme beim Import von Grundpreisen. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now