2 replies [Last post]
Rosencrantz@drupal.org's picture
Offline
Joined: 09/17/2008
Juice: 9
Was this information Helpful?

I've been very impressed with Ubercart thus far. I'm a week or so out from having my first live install of it in the wild. Our current site consists of a static site with a Zen Cart install for eCommerce.

Does anyone have any advice on migrating from Zen Cart? Any best practices for maintaining customer data during the switch?

Also, I want to set up 301 permanent redirects from the old zencart pages. Obviously I could do this manually with an individual .htaccess line per page, but it seems like there's a better way to do. Has anyone found a good solution for this? I looked on the zen cart forums, but they mostly talked about doing it for other carts migrating to zen cart, so I thought I'd ask here.

While I'm at it, there are a couple other things I'm wondering about. I've had a customer ask if there's any way to store their shipping / grinding preference for future shopping (we sell coffee, ground or whole bean that can be picked up at any of our 4 brick & mortar locations or shipped.) Anyone doing that sort of thing with Ubercart?

Thanks,

Peter

Peter Grandstaff
IT Director, Webmaster, and Coffee Roaster
Joe Van Gogh: The Art of the Bean

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: some questions as I migrate from Zen Cart

Hey Peter, I haven't done the ZenCart migration myself, but we have overseen some imports from homebrew systems and osCommerce... I don't have any solid pointers other than to say that customers in Ubercart are Drupal users, and address information isn't stored separately for customers. Ubercart pulls the addresses off of previous orders to fill an address book, though you can get a more robust address book using http://drupal.org/project/uc_addresses. I think the order tables should be pretty similar. There are others around who can probably be a little more helpful. Eye-wink

Regarding storing default shipping and purchasing preferences... there isn't a way to do this built-in. Ubercart will let you specify global defaults for options on product attributes... so what you can do is override these defaults in a custom module using something in Drupal called hook_form_alter(). You'd have to figure out a place to store these settings, though... one thought could be the core profile module. These are rough ideas, but my initial thoughts. Dunno how experienced you are w/ Drupal development.

As for the redirect... that's tough. It might be easiest if you're using the same node IDs for old product IDs and had a way to map URLs automatically... dunno what your prior URLs are like. And I'm no .htaccess / mod_rewrite genius. Eye-wink Could be you could just enter aliases into the url_alias table in Drupal. Something like that could be done pretty simply in the DB. Then you can use the Global Redirect module to make sure that only the right URLs get accessed. Or something... I hope that helps somewhere down the road. Laughing out loud

Rosencrantz@drupal.org's picture
Offline
Joined: 09/17/2008
Juice: 9
Thanks much Ryan! That's

Thanks much Ryan!
That's enough to get me started at least. Not much of a Drupal developer... yet. I have plenty of experience with web programming in general, especially PHP, so I'm sure I'll be hacking away before long.
I'm leaning towards using the Global Redirect module for redirecting the old pages at the moment. Our old store doesn't have much in the way of pagerank or traffic anyhow, so it's not as important to redirect as our main site.

Cheers,

Peter Grandstaff
IT Director, Webmaster, and Coffee Roaster
Joe Van Gogh: The Art of the Bean