Skip to content

Commit

Permalink
fix title in cart
Browse files Browse the repository at this point in the history
  • Loading branch information
vegimcarkaxhija committed Dec 6, 2024
1 parent 5a8659d commit bf10e74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions view/frontend/web/js/view/summary/totals.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ function ($, Component, quote, totals , globalMessageList, $t, alert, ko) {
return isAvailable;
},

getTitle : function () {
return window.checkoutConfig.buckarooFee.title();
getTitle: function () {
return typeof window.checkoutConfig.buckarooFee.title === 'function'
? window.checkoutConfig.buckarooFee.title()
: $t('Payment Fee');
},

/**
Expand Down

0 comments on commit bf10e74

Please sign in to comment.