gocart/GoCart — pull request #25 by maxtavanti (2012-05-21 19:00:16+00:00)
Title: 1.2

Same fix and improvement i realized using GoCart:

my fix 001:

before fix: if you enter the first address for a given user and you mark it only as shipping when checking out billing address generate error.

after fix: we assume billing equal to shipping if billing address is not set.

my fix 002:

before fix: when admin delete a product all its image files remain on file system. It's very hard to determinate what files are still linked with a product or not.

after fix: deleting a product unlink all image files linked to that product

my fix 003.1/003.2:

this bugfix is connected with bug fix 004 since recursively removing category needs to recursively remove image files of category

before fix: when admin delete a category the image file remains on file system. It's very hard to determinate what files are still linked with a category or not.

after fix: deleting a category unlink the image file linked to that category

my fix 004:

before fix: when removing a category parent of other category, all children was orphaned in database and not more visible or usable

after fix: when removing a category now we walk through all children and remove all hierarchy