Checkout Confirm Button - Custom Theme

  • Howard Theriot
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 4 months ago #107928 by Howard Theriot
Checkout Confirm Button - Custom Theme was created by Howard Theriot
I've copied the default theme to create a custom theme and everything is fine except one strange issue. I cannot seem to change the checkout confirm button class.

Editing this file…
Code:
/components/com_eshop/themes/mytheme/views/checkout/confirm.php

I changed this…
Code:
<input id="button-confirm" type="submit" class="btn btn-primary pull-right" value="<?php echo JText::_('ESHOP_CONFIRM_ORDER'); ?>" />

to this…
Code:
<input id="button-confirm" type="submit" class="button pull-right" value="<?php echo JText::_('ESHOP_CONFIRM_ORDER'); ?>" />

But, the site is still using the default class of btn btn-primary pull-right.

Every other button I have changed is working properly except the Confirm button. Is this being called from somewhere outside this file?

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
6 years 3 months ago #108015 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Checkout Confirm Button - Custom Theme
Hello Howard,

You should also take a look the 2 following files to modify them:

1. components/com_eshop/plugins/payment/omnipay.php
2. components/com_eshop/plugins/payment/os_payment.php

Hope that this is useful.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong