Copied to clipboard

Flag this post as spam?

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


  • Marius 7 posts 68 karma points
    1 week ago
    Marius
    0

    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 3872 posts 20649 karma points MVP 9x c-trib
    7 days ago
    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 7 posts 68 karma points
    7 days ago
    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 7 posts 68 karma points
    7 days ago
    Marius
    100

    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 3872 posts 20649 karma points MVP 9x c-trib
    6 days ago
    Matt Brailsford
    0

    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 👍🏻

Please Sign in or register to post replies

Write your reply to:

Draft