Abgleich/Schnittstelle WaWi mit OxidPE

Hallo liebe Community,

ich zerbreche mir gerade den Kopf wie ich unsere WaWi (Futura, falls das jemanden was sagt) mit unserem Shop verbinde. Es würde schon genügen einen nächtlichen Abgleich der Artikelbestände und Preise durchzuführen.

Hat jemand damit Erfahrung?

Der Import im Admin legt die Artikel immer neu an wenn ich diesen, mit auch schon vorhandener Art.Nr. importiere. (Ich korigiere mich, das macht er nur wenn die OXID noch nicht vorhanden ist)
Welche Möglichkeiten gibt es noch?

Gut ein eigenes SQL Script mit Update auf OXSTOCK und OXVARNIMPRICE wäre mit dem Messer durch den Rück in die Brust :wink:

Was genau bietet die SOAP/CSV Schnittstelle?
Eine SOAP Anbindung bietet unsere WaWi nicht an. Das höchste der Gefühle ist wohl ein CSV Im/Export :frowning:

Ich würde mich über eine regen Diskussion freuen.

Details zum meinem System:
Oxid PE mit MySQL
WaWi FuturERS von Futura4Retail mit MS-SQL 2005

VG

Hallo VG,

Das höchste der Gefühle ist wohl ein CSV Im/Export :frowning:

Das hört sich nicht besonders futuristisch an…

Der Import im Admin-Bereich ersetzt keine WaWi-Schnittstelle sondern ist für den initialen Import gedacht. Das naheliegendste scheint mir dieses Modul:
http://www.oxid-esales.com/en/exchange/extensions/importer

Setz Dich doch bitte mal mit dem Hersteller in Verbindung.

Gruß

Hallo,

wir lassen mit folgendem Skript in der _footer.tpl den Bestand aus unserer WaWi in den Shop übertragen. Aus der Wawi wird die Datei alle zwei Stunden mittels Task auf den Server übertragen und dort beim nächsten Aufruf der Seite eingelesen:

[{php}]
	$bestand_file = 'import/bestand.txt';

	if (file_exists($bestand_file)) {
		$bestand = file($bestand_file);

		if ($bestand) {
			foreach ($bestand as $bs) {
				list($articleoxid, $stock) = explode(';', $bs);
				$stock = trim($stock);
				$articleoxid = trim($articleoxid);

				#print "$articleoxid - $stock
";

				$q = "UPDATE oxarticles SET oxstock='$stock' WHERE oxid='".$articleoxid."'";
				mysql_query($q);

			}
		}

		exec("rm -rf $bestand_file");

	}
[{/php}]

Nach dem Einlesen wird die Bestandsdatei gelöscht.

Das ließe sich natürlich z.B. auch um den Preis o.ä. Daten erweitern.

Gruß

Hallo Frank,

so einfach und wirkungsvoll die Methode auch sein mag, so dreckig ist sie aber auch :smiley:

Gruß

Hi Marco - is it OK if I write in English ?

I am in a very similar situation. I am working on a webshop for a client with an existing WaWi. The WaWi has no SOAP or CSV interface to output article updates or to read customer orders.

The WaWi company suggests that I directly read the article information from their SQL database.

For the customer orders, they have a very old interface that expects to recieve emails with an XML attachment for the order information.

I agree with your above comment that direct database access is “dirty” and that SOAP is the “right” way to do these tasks. BUT, I’m having a hard time convincing the customer and the WaWi company…

What reasons should I use for using SOAP and against direct database access ? Do you know of any real world examples that have done it the “dirty” way, that have gone wrong ?

Thanks for your help
CPJ

[QUOTE=cpjolly;26681]Hi Marco - is it OK if I write in English ?

I am in a very similar situation. I am working on a webshop for a client with an existing WaWi. The WaWi has no SOAP or CSV interface to output article updates or to read customer orders.

The WaWi company suggests that I directly read the article information from their SQL database.

For the customer orders, they have a very old interface that expects to recieve emails with an XML attachment for the order information.

I agree with your above comment that direct database access is “dirty” and that SOAP is the “right” way to do these tasks. BUT, I’m having a hard time convincing the customer and the WaWi company…

What reasons should I use for using SOAP and against direct database access ? Do you know of any real world examples that have done it the “dirty” way, that have gone wrong ?

Thanks for your help
CPJ[/QUOTE]
There are a couple of questions arising here:

Is the WaWi and the shop runing on the same Server using the same DB-Management-System?

Mostly it is not allowed to acces online databases remotely.

SOAP ist [B]one [/B]way to avoid this problem, because then 2 applications talk to each other across servers to exchange data.

Which, however, requires, that the applications both must implement the SOAP connection.

You could as well develop some specialized (PHP?)programs to talk to each other across servers and exchange the data. (Which is the typical way WaWi-interfaces for a shop system are doing it.)

Thanks Avenger - some answers to your points:

The WaWi is running on a Windows server in the client’s office, the webshop is running on a Strato VPS server that I own. The client will give me full access to their Windows server. So I can do whatever is needed at both ends.

The WaWi supplier doesn’t want to get involved, so he says I should just read his SQL tables direct, but the customer is keen to have a quality solution and has a close partnership with the WaWi supplier.

If I have good reasons why the WaWi supplier needs to do some of the work (for example, he should implement a SOAP interface on the WaWi side), the customer will be happy to put the needed pressure on the WaWi supplier.

I’d be happy to implement it with SOAP, PHP and/or C#, so if you know some examples you can point me at , or any other advice that would be a big help.

Thanks again
CPJ

Wie wäre es hiermit? Kann einfach alles…mit Multi-Shop , Cloud, easy Datenimport-Export…

Wir bieten hier die Warenwirtschaftssoftware mcn commerce der Hamburger Firma macnetic mit online Schnittstellen zum Oxid eShop an (Multi-Shop fähig) extra Schnittstelle zum GambioGX2 Shop auch vorhanden. Betreiben Sie beliebig viele Shop mit Datenimport/Export. !!!

Original Software kommt ebenfalls noch mit einer zusätzlichen "Filemaker Software"
also die “Cloud” von überall für verschiedene Arbeitsplätze.

Folgende Details sind mit inbegriffen:

mcn Commerce Professional Netzwerk Lizenz (2 User) FMP

Warenwirtschaftssystem mcn Commerce Professional Edition inkl. der Module

  • Aufträge
  • Artikel
  • Adressen
  • Internet (inkl. Schnittstelle zum Online Shop) - Kataloge (und Preislisten)
  • Bestellungen
  • Kasse

Normalpreis: EUR 2.090

  • OxidXT für 2 User Lizenz von mcn Commerce
  • GambioGX2 für 2 User Lizenz von mcn Commerce

1x Oxid und 1x Gambio Anbindung für mcn Commerce Professional Mac OS und Windows

Normalpreis: EUR 300

FileMaker Server Software für Windows oder Mac OS X

Die FileMaker Server Software ermöglicht es Ihnen, Datenbanken noch schneller, zuverlässiger und einfacher über ein Netzwerk gemeinsam zu nutzen. Dateigröße des Downloads: 218 MB (Mac) / 201 MB (Win)
SBA Lizenz

Normalpreis: EUR 800

Die Software besticht durch ausgereifte Artikelverwaltung mit Attributen und der Verwaltung mehrer Lieferanten pro Artikel. Es lassen sich hier auch Skonti bei den Lieferanten anlegen. Kundenadressen können x-beliebige Kontaktpersonen mit eigener Mail, Durchwahl, Handy usw., sowie meherer Lieferadressen hinzugefügt werden. Man kann aus der Software heraus mit wenigen Klicks komplette Kataloge bzw. Preislisten anlegen. Mit Bildern, je nach Kundenart Brutto oder Netto.

Es besteht außerdem die Möglichkeit durch Erwerb des Internetmoduls die Software an Onlineshops der Anbieter

Oxid CE (bereits vorhanden)

GambioGX (bereits vorhanden)

osCommerce

xtCommerce Version 3 (nicht Veyton)

xtcModified

anzubinden.

Für dropshipping erstellt die Software auf Wunsch automatisch Warenbestellungen bei dem hinterlegten Lieferanten.
Sämtliche Formulare sind durch Platzhalter und Textelemente via FileMaker Pro frei editierbar.

Ein Kassenmodul mit Unterstützung meherer Kassen mit eigenen Abrechnungen ist ebenso integriert wie Provisionsabrechnungen für Mitarbeiter oder externe Vertreter.

Bei Interesse bitte kurze Mitteilung mit Mail oder Telefonnummer und wir melden uns bei Euch.

Neu-Preis für die Software war 3.200,- €.

Verkauft wird das komplette Softwarepaket für 2.400,- €. VHB (natürlich neu und ohne Daten…alle Lizenzen übertragbar…jetzt
Sprechen Sie mit uns

Stylehunter GmbH
Bad Tölz
mail: [email protected]
oder Telefon: 08041 8089869
Daniele Mulas

Zum einen ist es doch immer wieder schön, wenn drei Jahre alte Themen aufgewärmt werden. Zum anderen hast du schon mal die Nutzungsbedingungen durchgelesen? Lizenzverkauf ist nicht erlaubt…

Roland, beim nächsten Mal einfach “Beitrag melden”. Dann sehe ich’s schneller :wink:

Gruß