VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ioncap on March 17, 2016, 13:52:40 PM

Title: Need path to source checkout button
Post by: ioncap on March 17, 2016, 13:52:40 PM
Hello dear people,

virtuemart: 3.0.13.6
joomla: 3.4.8


I was wondering where i could customize the checkout button on the checkout page since the build-in feature "One page checkout" does not function properly and i already have a fix for this.
If someone can point me in the right direction concerning the source file that would be great!

Thanks for reading my post.

Kind regards,
-Ioncap
Title: Re: Need path to source checkout button
Post by: jenkinhill on March 17, 2016, 14:58:40 PM
Checkout button template is components/com_virtuemart/views/cart/tmpl/default.php
Also checkout_link_html is defined in components/com_virtuemart/views/cart/view.html.php

Styling is in vm-ltr-site.css as
.vm-button-correct, .vm-button-correct:link, .vm-button-correct:visited {
    background: #0077b3 none repeat scroll 0 0;
    border: 1px solid #00669a;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px 3px;
    text-align: center;
    text-decoration: none;
}
Title: Re: Need path to source checkout button
Post by: ioncap on March 18, 2016, 15:48:05 PM
Quote from: jenkinhill on March 17, 2016, 14:58:40 PM
Checkout button template is components/com_virtuemart/views/cart/tmpl/default.php
Also checkout_link_html is defined in components/com_virtuemart/views/cart/view.html.php

Styling is in vm-ltr-site.css as
.vm-button-correct, .vm-button-correct:link, .vm-button-correct:visited {
    background: #0077b3 none repeat scroll 0 0;
    border: 1px solid #00669a;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px 3px;
    text-align: center;
    text-decoration: none;
}

Thank you kindly again!