The image zoom function does not work



  • Environment: laradock
    Version: v1.3.1

    • velocity.js reports an error TypeError: this.activeImage.ezPlus is not a function
    • The image zoom function does not work

    Is there a workaround for this? Thank you!



  • Hi @hairong,

    I just checked this in the latest version not able to reproduce that. Have you done any changes?



  • @devansh-webkul Thanks for the heads up, I re-installed and checked and the problem came from Odoo's online chat script.
    The code I added in scripts.blade.php, odoo chat works fine but reports the error this.activeImage.ezPlus is not a function, causing the product detail page to not work properly.

    <script type="text/javascript" src="https://erp.traitbuy.test/im_livechat/external_lib.js"></script>
    <script type="text/javascript" src="https://erp.traitbuy.test/im_livechat/loader/1"></script>
    

    I haven't found how to fix the cause of the odoo script code conflict yet, I'll come back and update when I do.


Log in to reply