we are trying to override the cart "go to checkout" button in a custom module, but can't get it working state. (CE 2.2.6)
I am using view/layout/checkout_cart_index.xml
with the following content
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<referenceBlock name="checkout.cart.methods.onepage.bottom" template="Namespace_Module::onepage/link.phtml" />
</referenceContainer>
</body>
</page>
And copied the original content to templates/onepage/link.phtml
So far so good, it doesn't work (checked with template hints and added a marker to link.phtml
)
Any ideas would be helpful.
Cheers Jan