Hey,
The terms and conditions opens a modal, but it's buggy because de header is all blank and too big, and I have a dedicated terms and conditions page already so I want to redirect the users to that page with a "target:_blank" and not opening the buggy modal, but I can't understand where can I change that, I see the module-checkout-agreements but idk where to change from modal to redirect.
Thanks
Hi @rui_silva1
Please try to override JS with your theme:
vendor/magento/module-checkout-agreements/view/frontend/web/js/view/checkout-agreements.js
and replace code with below code:
/** * Show agreement content in modal * * @param {Object} element */ showContent: function (element) { console.log("test"); window.open('https://yoursite.com/term-condition-page'); },
Issue resolved ?
Please click on 'Kudos' & Accept as Solution!