Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Marius 15 posts 102 karma points
    Nov 21, 2022 @ 18:29
    Marius
    1

    Can't create a discount with order amount rule

    Hi Vendr, I am trying to create a discount with order amount rule but when I select that rule there is no amounts input field. Am I missing something?

    I am using latest Umbraco 10 and Vendr verion.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Nov 22, 2022 @ 08:17
    Matt Brailsford
    0

    Hi Marius,

    Is this an upgrade? Or a fresh install?

    Sounds like a view/js error might be going on. Is there anything in your browser console log related?

  • Marius 15 posts 102 karma points
    Nov 22, 2022 @ 08:35
    Marius
    0

    Hi Matt, it is fresh install. I having same issue with demo store solution. The errors in console looks similar. enter image description here

    Console error in demo store enter image description here

  • Marius 15 posts 102 karma points
    Nov 22, 2022 @ 09:10
    Marius
    101

    Found the fix. On the line 8573 in vendr.controller.js

     fraction: $scope.model.config.fraction || 2
    

    changing to this

     fraction: $scope.model.config?.fraction || 2
    
  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Nov 22, 2022 @ 15:26
    Matt Brailsford
    1

    Thanks Marius for the excellent debugging work. I’ll get this tested and updated in the next release. Glad you’ve found a workaround in the meantime 👍🏻

  • anh-duc-le 38 posts 152 karma points
    Jan 30, 2023 @ 12:53
    anh-duc-le
    0

    Our client recently mentioned this exact same issue in version 3.0.3, I just updated to v3.0.6 and was happy to see you already fixed it in v3.0.5.

    Thanks again for your quick fixes Matt! :)

Please Sign in or register to post replies

Write your reply to:

Draft