News:

Support the VirtueMart project and become a member

Main Menu

Determine if "Payment is selected" on checkout page

Started by Ihateit, January 22, 2013, 09:56:52 AM

Previous topic - Next topic

Ihateit

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:
<?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

Bring Up My Post.

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

Ihateit