Close

How to HIDE the checkout button

fincozmoz
10 years ago
#6282 Quote
Avatar
  • 1
From the previous subject I understand that the setting whether the button to go directly to checkout is set in Nop rather than in the plugin settings. Could you please let me know where to set this option?

In the ProductAddedToCartPopupDialog view I'd like Model.DisplayCheckoutButton to be false, but I can't see from which setting this value is read.

Thanks,
Daniel
iliyan.tanev
10 years ago
#6285 Quote
Avatar
  • 347
Hi FINCOZMOZ,

The checkout button functionality in AjaxCart depends on Nop shoping cart checkout functionality.
In other words if you can check out from shopping cart you would be able to do it from the Ajax Cart as well.
So you don't have the Model.DisplayCheckoutButton option in the ProductAddedToCartPopupDialog view.

If you don't want the checkout button to be shown in AjaxCart you could set the ordersettings.termsofserviceonshoppingcartpage setting to be true so the checkout button would not be shown on Shoping cart as well if you don't accept the terms.

Hope this helps!

Regards
Regards,
Iliyan Tanev
Nop-Templates Dev Team