Share » Forums » Developer » Product creation before adding to basket

Product creation before adding to basket

Product creation before adding to basket

Thursday 05 May 2011 1:44:51 am - 5 replies

Modified on Thursday 05 May 2011 2:07:59 am by Karol Radziuk

Author Message

Marko Žmak

Thursday 05 May 2011 5:10:13 am

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.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Gaetano Giunta

Thursday 05 May 2011 9:27:28 am

Do you really need to create full-fledged objects, or could you just add information to your order? The orders are quite flexible by themselves...

Principal Consultant International Business
Member of the Community Project Board

Karol Radziuk

Thursday 05 May 2011 11:37:51 pm

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.

@Marko
My approach is to get allways fresh informations.

@Gaetano
Good point, I forgot about this. Thanks.

{$me|attribute(show,1)}

Quoc Huy Nguyen Dinh

Tuesday 24 May 2011 12:37:24 pm

Gaetano, so it is possible to add info in an order / create an order without having a product?

Gaetano Giunta

Wednesday 25 May 2011 1:01:47 am

@quoc I do not think so - but I never tried...

Principal Consultant International Business
Member of the Community Project Board

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu