Thursday, January 29, 2015

Put multiple images for a product in Odoo 8 ecommerce web page

I really like the idea that Odoo provide both a powerfull ERP solution as well as a quite functional ecommerce solution. However compare to other ecommerce solution Odoo is missing some functions, One concern is on Ebay, Amazon as well as many e-commerce websites, they use slides to show multiple pictures at the left-top section. But Odoo only allow one pictures. So I raised a question here: 
"Can an e-commerce pages show multiple pictures at the left top part of the page in V8?"

Luke Branch now provides a addon. (check https://github.com/OdooCommunityWidgets/website_multi_image). It works great and I want to share how I install this addon with you. 

Here is how I install the addon, please be aware you configuration/odoo folders may be different, if you follow my post to install Odoo you should be able to follow this instruction without issue.  

First stop odoo server and run the following to get the custom module. 


sudo su - odoo -s /bin/bash
mkdir custom_modules
cd /opt/odoo/custom_modules/
git clone -b 8.0 https://github.com/OdooCommunityWidgets/website_multi_image.git 
Now you have the file you need to Scaffolding this module. Still run as odoo user:
cd ..
./odoo.py scaffold website_multi_image addons
cp -R custom_modules/website_multi_image addons/.
At this point you need to start odoo server. Log into Odoo as admin, make sure "Technical Features" is turned on for admin, if not, go to Settings->Users, edit admin user by check "Technical Features" checkbox. 

No go to Settings->Modules->Update Modules List and click Update button. When finished, install "Product Multi-Image". 

Then you can go to Product configuration page -> product images and add more images for the product. 

Well here is how it looks like on website: 




And here is how it looks in product maintain page: 



10 comments:

  1. I will test how to import pictures later and update.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. i bill it is not working in mobile phone

    ReplyDelete
    Replies
    1. Hi Cristian, could you please contact Luke Branch or submit the bug in github? Thanks!

      Delete
    2. Hi bill, i already did
      https://github.com/OdooCommunityWidgets/website_multi_image/issues/11

      you can comment also please

      Delete
  4. Thanks you very much for your informative and effective post. I think it is very useful content for visitor.
    Real estate Photo retouching Service | Photo Enhancement Services

    ReplyDelete
  5. Hi Bill. I am planning a system using Odoo 9 Enterprise soon. One of the things I will use is the eBay listing system. Do you know if the multi pictures will work with eBay out of the box? Thanks!

    ReplyDelete
  6. Looking forward to reading more. Great blog article.Really looking forward to read more. Keep writing. Image editing companies |Photo editing solutions|Photo editing solutions in India

    ReplyDelete
  7. Hi, I download and create manually the folder /usr/lib/python2.7/dist-packages/openerp/custom_addons
    And also added the line:
    /usr/lib/python2.7/dist-packages/openerp/custom_addons
    After the addons.
    What Im missing please?
    Odoo v9
    Thanks

    ReplyDelete