Post by JoyceParker » Thu Feb 21, 2019 2:56 pm

Hi
I do not know Open Cart. I envision it for my project, but I have a particular constraint: The prices of the articles come from an external database where they are pre-calculated for each couple article / customer.
So from Open Cart, I have to 'overload' getting the price function, by personnal PHP code which will access to the external database. I don't want to populate Open Cart database. My prices will stay in the external database and i must fetch a price each time an article is displayed.
Is it possible to do that with Open Cart ?

Newbie

Posts

Joined
Thu Feb 21, 2019 2:54 pm

Post by OSWorX » Thu Feb 21, 2019 3:19 pm

JoyceParker wrote:
Thu Feb 21, 2019 2:56 pm
.. i must fetch a price each time an article is displayed.
Is it possible to do that with Open Cart ?
Yes, this is possible.
Simply create a new extension which fetch the price from the other database.
But doing so each time may overload the system when you have many visitors.

Forum Rules [en]: viewtopic.php?f=176&t=200480
Forumregeln [de]: viewtopic.php?f=37&t=114208
Commercial Request: viewforum.php?f=88

Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 20 guests