CHECKOUT_BUTTON_FINISH

  • Posts: 122
  • Thank you received: 0
10 years 6 months ago #179841

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4

On my implementation CHECKOUT_BUTTON_FINISH is redundant since as soon as one of the payment options is selected we are taken to the payment page.

So how do we remove CHECKOUT_BUTTON_FINISH from the page?

Many thanks,

Mike

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

  • Posts: 83831
  • Thank you received: 13572
  • MODERATOR
10 years 6 months ago #179844

Hi,

You can add such CSS:
#hikashop_checkout_next_button{display : none; }
in the frontend CSS of HikaShop to remove it.

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

  • Posts: 122
  • Thank you received: 0
10 years 6 months ago #180042

Unfortunately this change removes Next from every page in the payment process.

We just need to remove CHECKOUT_BUTTON_FINISH from the last page with the payment options.

Regards,

Mike

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

  • Posts: 83831
  • Thank you received: 13572
  • MODERATOR
10 years 6 months ago #180077

Then, instead of that CSS modification, you can edit the file "step" of the view "checkout" via the menu Display>Views and add the line:
$this->nextButton = false;

after the line:
$this->continueShopping = '';

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

  • Posts: 122
  • Thank you received: 0
10 years 6 months ago #180236

Hi Nicolas,

Should I be editing the file checkout / step.php as I cannot find $this->continueShopping = ''; ?

Regards,

Mike

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

  • Posts: 83831
  • Thank you received: 13572
  • MODERATOR
10 years 6 months ago #180255

Hi,

Yes, that's the one I'm talking about.
That line is around the middle of the file.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum