Thursday 05 May 2011 10:44:51 am - 5 replies
I get product informations from an external provider via SOAP. Before user adds it, eZ must create an product object. Can I do this using workflow?
1. Click add to basket
2. Workflow creates product object and forward ist ID (or even 2 products in one time) to the shop add to basket function (Is it possible? This is the crux of the matter)
Modified on Thursday 05 May 2011 11:07:59 am by Karol Radziuk
Thursday 05 May 2011 2:10:13 pm
Just an idea... Why don't you fill your eZ database with product objects generated from this SOAP service and then use a cronjob to update your database regullary?
Then you can use this products with the eZP shop functionality.
Also if you make a call to the SOAP service every time the user adds something to basket, you can have problems due to loss of connectivity or slow connection to the SOAP service.
Friday 06 May 2011 8:37:51 am
I checked the code a little more thoroughly and I see, that workflows are impossible in my case.
Trigger starts after checking the ObjectID, so I created the new extension for this.
My approach is to get allways fresh informations.
Good point, I forgot about this. Thanks.
You must be logged in to post messages in this topic!