Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $product->setBaseImage($image_path)
- ->setSmallImage($image_path)
- ->setThumbnail($image_path)
- ->addImageToMediaGallery($image_path,array('image', 'small_image', 'thumbnail'),false, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement