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
Comment #1
charlie-s commentedAlso, would be nice to include a global function to programmatically add an item to the user's cart.
Comment #2
l_o_l commentedI am new to Drupal 7 and also Foxycart. But I would really appreciate if you could do this !
Comment #3
siavashr commentedsubscribe!
Comment #4
kilogauss commentedI'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!
Comment #5
charlie-s commentedAwesome, thanks for the work kilogauss!
Comment #6
kilogauss commented