We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Push To FoxyCart (Makes Solspace User Module, FoxEE & FoxyCart play nice)

Development and Programming

nathanpitman's avatar
nathanpitman
531 posts
16 years ago
nathanpitman's avatar nathanpitman

Hi all, this is a little extension which my good colleague Ed Kelly wrote while working with us at Nine Four. It basically solves the problem of user details not being pushed to FoxyCart by the HCC Development FoxEE module if you are using the Solspace User Module for user registration and/or profile updates.

I’ve written a short post on how to configure the extension on my blog though in time I’m hoping to find a more suitable home for this on the Nine Four website along with some other modules and extensions we’ve been working on.

If you have any questions then please post them here and hopefully I can help or someone else may chime in. This extension really saved our bacon so hopefully it can do the same for someone else. 😊

       
Brian Hildreth's avatar
Brian Hildreth
45 posts
16 years ago
Brian Hildreth's avatar Brian Hildreth

Thanks Nathan for the extension. I am just starting a new site using all of these components. This was just the perfect timing. Thanks Again!

       
DoubleC335's avatar
DoubleC335
26 posts
16 years ago
DoubleC335's avatar DoubleC335

Thanks for this. I could use a hand at this point in the setup:

Finally you’ll need to change the mapping of the FoxyCart fields to the ExpressionEngine custom member profile fields on lines 100 through to 119.

I may be one of those who bit off more than they can chew. I’m only using User module to set email as username, at this point. I don’t think I’ve changed any custom member profile fields, but where would I find this info, or how would I know if I have? In my FoxEE settings I’m using “Automatically Create and Map Member Fields.”

So do I need to change any settings on lines 100 - 119?

       
nathanpitman's avatar
nathanpitman
531 posts
16 years ago
nathanpitman's avatar nathanpitman

@DoubleC335: The extension basically does the job which the ‘Automatically Create and Map Member Fields’ feature does, except it fires when you create or update a user via the Solspace User Module whereas the Foxee extension only fires on standard EE member registrations via the old school member templates.

In theory you can simply remove the lines that you do not need, or comment them out. So for example if as you say you are only asking a user to provide an email address then you ditch the rest of the field mapping (with the exception of the email address). 😊

That said I’ve not tried the extension with only an email address… let us know how you get on!

       
nathanpitman's avatar
nathanpitman
531 posts
16 years ago
nathanpitman's avatar nathanpitman

Have realised that Push to FoxyCart is not currently ‘updating’ an existing member in FoxyCart correctly but instead creates a new member acc every time you change your email address… working on a fix… just testing locally and will post back here once done. 😊

       
jackmcpickle's avatar
jackmcpickle
21 posts
15 years ago
jackmcpickle's avatar jackmcpickle

Thanks Nathan. How is work going on this? Very interest with a current site and another in development.

       
nathanpitman's avatar
nathanpitman
531 posts
15 years ago
nathanpitman's avatar nathanpitman

The latest version of the extension I’m using seems to be working well in our dev environment… I’d be happy to send you a copy if you drop me a PM.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.