We may be looking to use this module in a D7 project. After looking over the code, it appears that the only files that need to be updated are the foxycart.indo and foxycart.module files:

foxycart.info
- just the obvious changes in D7 syntax.

foxycart.module
- foxycart_block (~ line 125) hook_block is no longer available, the new Block API should be used instead:
http://api.drupal.org/api/drupal/modules--block--block.api.php/7

- foxycart_user (~ line 205) hook_user is no longer available, the new User API should be used instead:
http://api.drupal.org/api/search/7/hook_user_

- foxycart_perm (~ line 300) should be hook_permission()
http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...

Does anyone else see anything? If I can get the work done on this project I'd be happy to release the D7 port of this.

Comments

charlie-s’s picture

Also, would be nice to include a global function to programmatically add an item to the user's cart.

l_o_l’s picture

I am new to Drupal 7 and also Foxycart. But I would really appreciate if you could do this !

siavashr’s picture

subscribe!

kilogauss’s picture

I'm almost done. Just a couple more fixes. Thanks to siavashr for identifying most of the port issues. I hope to release something this week. Thanks for your patience!

charlie-s’s picture

Awesome, thanks for the work kilogauss!

kilogauss’s picture

Assigned: Unassigned » kilogauss
Status: Active » Closed (fixed)