Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

OsCommerce <--> PostNuke Integration  Bottom

  • We have been developing OsCommerce and Postnuke integration for a while and have reached the point where it works for our own internal needs. There is some discussion going on about how to roll this into a project for public consumption and I was hoping to get feedback on what the community is looking for from something like this.

    It isn't really our intention to have OsCommerce behave like a regular pnAPI module, we like the way OsCommerce does its thing as a shop. However our users would prefer not to register twice, though currently they have to login twice. Right now the user table is shared and integrated completely so that you register once in either system OsCommerce or Postnuke and can update and change information in the other appropriately all under the same login/userid.

    What level of integration is most desirable?

    Complete integration as a pnAPI?

    Separate but equal, both systems running separately but sharing data on the backend?

    Somewhere in between, what are the most important features on both sides?

    Any move to make OsCommerce a module would require a forking of that project. As this time we do not have the resources to do that, but couldn't rule it out for the future. Any feedback is appreciated.

    Sincerely,
    David Uhlman
    CTO 50KM INC.
    postnuke_mail@50km.com
  • well given oscommerces nonexsistant theming system, I would love to see it intigrated into the pnAPI so that I can throw an AutoTheme on it. I would like to see the full osc control panel thrown into the admin panel, (odviously for security reasons) and I would like to have a block that gave me tottal control over number of images and horizantal/verticle display of said images. OsC is a very worthwhile project and if I can fully intigrate the login/pnuser table that would just be the frickin coolest. Will it require a fork? probably not if the osc team was able to keep the base code separate from the theme code but as I look at it now, that aint the case. osc is great but man it's coding is friggin sticky. I get the feeling it's core wasnt developed to be modular on any level. Goos luck and keep us informed, this is something I would definatly pay/donate to.
  • sounds like great work has been done on this, well done...
    i actually need it now, the shared registration would be great - my users could get over having to login twice but i'm sure this wouldn't be too hard to fix - i could even work on it...but if i could get one registration working for both i'd be delighted!
    can i download your mod anywhere? if it works so that the osc registration also registers on PN i'd love your mods to the osc registration & login page as I can redirect the PN registration to use these.
    only reason i'd do it this was is that i know osc better than PN and believe i could get the one login working this way.
    please reply here or PM me,
    thanks, daithi.
  • The reason for this post was essentially that we have it coded into our OsCommerce tree but only combined with several other OsCommerce patches we use. Our tree is based off of the chain reaction tree.
    Anyway we wanted to gauge interest in how best to release the code. I will push it out onto our devcenter and update this post when it is there. I expect it could take up to 2 weeks.

    What works for us now is registration in Oscommerce will only allow you to log in to oscommerce however administrators in PostNuke can add a username to your account and you will then be able to log into both. Registration in Postnuke allow you to log in to either system though for our needs we do not allow registrations from Postnuke by end users. Postnuke registered new users will need to update there shipping and billing address and preferences when they log in to that system. There is currently no sharing of security credentials because the systems are so disparate and we aren't sure if we would want it even if we could do it. However changing a password in either will change it for both and you can log into Oscommerce with your PN email address.

    Both product databases were combined into the same DB so that OsCommerce now utilizes nuke_users table as a replacement for the customers table. If they reside under the same domain it can be trivially scripted so that once logged into one or the other you can pre-populate the login fields for the other (you could even setup a direct post if you really wanted to). We kept things a little bit separate because we have a lot of different kinds of users.

    Sincerely,
    David Uhlman
    CTO 50KM INC.
    postnuke_mail@50km.com
  • Hi and thanks for the fast reply, however I am a bit confused...

    Quote

    What works for us now is registration in Oscommerce will only allow you to log in to oscommerce however administrators in PostNuke can add a username to your account and you will then be able to log into both. Registration in Postnuke allow you to log in to either system though for our needs we do not allow registrations from Postnuke by end users.

    So, how is it integrated? if you don't allow PN account creation and osc account creation only creates an account on osc - where does PN sit in?

    Also:

    Quote

    Postnuke registered new users will need to update there shipping and billing address and preferences when they log in to that system.

    I am still quite new to PN but i don't see or know where PN users have to enter any details for shipping and billing addresses as it is not an ecom app - are you using another PN-mod for this? as far as i can see this is only needed on the osc side, so once the details are entered & updated there all should be ok? - please correct me if i am wrong.


    Quote

    Both product databases were combined into the same DB so that OsCommerce now utilizes nuke_users table as a replacement for the customers table


    This is where I could be stuck, as I said I know osc better than PN and because of that would personally prefer to work the opposite way - PN utilize osc user DB...

    anyway, i kneed this so would love to help out, any code you/we can share would be well appreciated...

    I had a look at the PN registration process but couldn't make too much of it (all that i see that is required is the username & email address, with password sent out on account creation) - so if i knew the correct tables to enter data into, i could input into these from the osc account creation and once a user logs into osc it would also set a cookie for PN all should work ok, but where i am stuck again is that i use pnphpbb2, but installing this as a mod doesn't seem to change the PN registration process, so it is the PN account creation and login tables that i kneed to know...

    again, any help would be well appreciated..
    thanks, daithi.
  • daithik11


    This is where I could be stuck, as I said I know osc better than PN and because of that would personally prefer to work the opposite way - PN utilize osc user DB...

    I think that would be a big mistake. Since there are other programs (forum programs most notably) that have been and will be adapted to work with PN, PN's user DB should be the one used by all programs. Otherwise, you will limit what programs one may use and cause problems with registration being shared among programs.
  • For our needs we don't allow postnuke end user registration, there is nothing in the system to prevent you from allowing that. If a user registers in postnuke they can use postnuke as before and can log into oscommerce. Before they complete an order through oscommerce they will need to update there oscommerce information to include there shipping address and so forth. If a user registers through oscommerce then they can't log into postnuke until someone assigns them a postnuke user name. You could easily do this in the code by adding one line to the DB update that autogenerates the username from the oscommerce information. They way we have it is that oscommerce registration generates a PN username that is the email address from oscommerce.

    David Uhlman
    CTO 50KM Inc.
    postnuke_mail@50km.com
  • Does anyone know what the status of the above mentioned oscommerce-postnuke integration module is? I realize that there are a few shopping cart modules for PN already but I do think PostNuke will really benefit from supporting oscommerce which has become well established in the open source ecommerce area and is by far the most popular solution around. I notice that PHPNuke and even GeekLog already have oscommerce modules. I (and I'm sure many others) would love to see this come to PN!

    --
    www.indybay.org - San Francisco Bay Area Independent Media Center
  • Why don't you take the direct route and contact 50km David Uhlman
    CTO 50KM Inc. at postnuke_mail@50km.com and find out?

This list is based on users active over the last 60 minutes.