Design theme "MegaShop 2.0" v. 1.12.1
Proceed to cart
Button layout: "Proceed to cart"
Selector to insert the button: #wa-order-form-wrapper #wa-step-auth-section
Method to add the button to the selector: prepend()
HTML template for the button:
#BUTTON#
<div class="ya-pay-separator"><span>or</span></div>
<style>
##BUTTON_ZONE# {
margin: 20px 0px 45px;
}
##BUTTON_ZONE# .ya-pay-separator
{
position: relative;
top: 30px;
left: 0;
display: block;
width: 100%;
height: 1px;
content: "";
background-color: #ced8e1;
}
##BUTTON_ZONE# .ya-pay-separator span {
font-size: 14px;
line-height: 1.28571;
position: absolute;
z-index: 2;
display: inline-block;
padding: 0 15px;
color: #7d858c;
background: #ffffff;
left: calc(50% - 27px);
top: -8px;
}
</style>