while uploading magento via CSV we see that exclude box remain unticked.to solve this problem do these things
In “app/code/core/Mage/Catalog/Model/product.php”, on (or near) line 759 change:
public function addImageToMediaGallery($file, $mediaAttribute=null, $move=false, $exclude=true)
to:
public function addImageToMediaGallery($file, $mediaAttribute=null, $move=false, $exclude=false)
Now when you upload new products the exclude box will remain unticked.
Try this with some test products and refresh all cache.
In “app/code/core/Mage/Catalog/Model/product.php”, on (or near) line 759 change:
public function addImageToMediaGallery($file, $mediaAttribute=null, $move=false, $exclude=true)
to:
public function addImageToMediaGallery($file, $mediaAttribute=null, $move=false, $exclude=false)
Now when you upload new products the exclude box will remain unticked.
Try this with some test products and refresh all cache.
No comments:
Post a Comment