Author Topic: Determine if "Payment is selected" on checkout page  (Read 1045 times)

Ihateit

  • Beginner
  • *
  • Posts: 49
Determine if "Payment is selected" on checkout page
« on: January 22, 2013, 09:56:52 am »
Hey forum,

i would like to know if there is a if statement that determines if Payment is selected. Im using some code on my checkoutpage right now:
Code: [Select]
<?php if ($this->cart->cartData['paymentName'] != 'Ingen betaling valgt' && $this->cart->cartData['paymentName'] != 'No payment selected' && $this->cart->cartData['paymentName'] != 'Ingen betalning vald' && $this->cart->cartData['paymentName'] != 'Ingen betalingsmetod er valgt') {?>But it isnt very optimized, as i would like to add all the other languages aswell, fx. russian.

Its because im showing some images on the checkout page, and i only want to show them if the payment option is selected.

//Anders J. - PS. i dunno if this is the right category for my question

Ihateit

  • Beginner
  • *
  • Posts: 49
Re: Determine if "Payment is selected" on checkout page
« Reply #1 on: January 23, 2013, 15:13:45 pm »
Bring Up My Post.

Hey guys, i still havent found a solution :-( Anyone with any suggestions at all?

Ihateit

  • Beginner
  • *
  • Posts: 49
Re: Determine if "Payment is selected" on checkout page
« Reply #2 on: February 12, 2013, 11:04:10 am »
BUMP. Maybe some fresh eyes have a solution :-)?