From 9efbfd3852d13d18f25bf796c030381d93a3d14b Mon Sep 17 00:00:00 2001 From: abhisheks <abhisheks@consultbop.com> Date: Thu, 4 Jan 2024 12:20:00 +0530 Subject: [PATCH] reactor: update button styles and place order text --- templates/checkout/_partials/steps/payment.tpl | 6 +++--- templates/checkout/_partials/steps/shipping.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/checkout/_partials/steps/payment.tpl b/templates/checkout/_partials/steps/payment.tpl index 2b2fca7..6503f3f 100644 --- a/templates/checkout/_partials/steps/payment.tpl +++ b/templates/checkout/_partials/steps/payment.tpl @@ -123,8 +123,8 @@ <div id="payment-confirmation"> <div class="ps-shown-by-js"> - <button type="submit" {if !$selected_payment_option} disabled {/if} class="uppercase font-medium py-2 text-center w-full bg-blue-950 text-gray-50 disabled:bg-gray-600"> - {l s='Order with an obligation to pay' d='Shop.Theme.Checkout'} + <button type="submit" {if !$selected_payment_option} disabled {/if} class="uppercase font-medium py-2 text-center w-full bg-blue-950 hover:bg-blue-900 text-gray-50 cursor-pointer"> + {l s='Place order' d='Shop.Theme.Checkout'} </button> {if $show_final_summary} <article class="alert alert-danger mt-2 js-alert-payment-conditions" role="alert" data-alert="danger"> @@ -143,7 +143,7 @@ </div> <div class="ps-hidden-by-js"> {if $selected_payment_option and $all_conditions_approved} - <label for="pay-with-{$selected_payment_option}">{l s='Order with an obligation to pay' d='Shop.Theme.Checkout'}</label> + <label for="pay-with-{$selected_payment_option}">{l s='Place order' d='Shop.Theme.Checkout'}</label> {/if} </div> </div> diff --git a/templates/checkout/_partials/steps/shipping.tpl b/templates/checkout/_partials/steps/shipping.tpl index bbd8d3c..1ffb7b6 100644 --- a/templates/checkout/_partials/steps/shipping.tpl +++ b/templates/checkout/_partials/steps/shipping.tpl @@ -100,7 +100,7 @@ </div> </div> - <button type="submit" class="uppercase font-medium py-2 text-center w-full bg-blue-950 text-gray-50" name="confirmDeliveryOption" value="1"> + <button type="submit" class="uppercase font-medium py-2 text-center w-full bg-blue-950 hover:bg-blue-900 text-gray-50 cursor-pointer" name="confirmDeliveryOption" value="1"> {l s='Continue' d='Shop.Theme.Actions'} </button> </form>