Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted by Daniel ( 14 years ago )
<?php if ($error_warning): ?>
<div class="s_server_msg s_msg_red"><p><?php echo $error_warning; ?></p></div>
<?php endif; ?>
<?php if ($payment_methods): ?>
<p><?php echo $text_payment_method; ?></p>
<div class="s_row_3 clearfix">
<?php foreach ($payment_methods as $payment_method): ?>
<?php if ($payment_method['code'] == $code || !$code): ?>
<label class="s_radio" for="<?php echo $payment_method['code']; ?>">
<?php $code = $payment_method['code']; ?>
<input type="radio" name="payment_method" value="<?php echo $payment_method['code']; ?>" id="<?php echo $payment_method['code']; ?>" checked="checked" />
<strong><?php echo $payment_method['title']; ?></strong>
</label>
<?php else: ?>
<label class="s_radio" for="<?php echo $payment_method['code']; ?>">
<input type="radio" name="payment_method" value="<?php echo $payment_method['code']; ?>" id="<?php echo $payment_method['code']; ?>" />
<strong><?php echo $payment_method['title']; ?></strong>
</label>
<?php endif; ?>
<?php endforeach; ?>
</div>
<?php endif; ?>
<span class="clear border_eee"></span>
<br />
<h2><?php echo $text_comments; ?></h2>
<div class="s_row_3 clearfix">
<textarea name="comment" rows="8" 99%;"><?php echo $comment; ?></textarea>
</div>
<div id="coupon">
<b><?php echo $entry_payment_coupon; ?></b><br /><br />
<?php echo $text_payment_coupon; ?>
<input type="text" name="coupon" value="" />
<a id="button-coupon" class="button"><span><?php echo $button_coupon; ?></span></a></div><br />
</div>
[removed]
$('#button-coupon').bind('click', function() {
$.ajax({
type: 'POST',
url: 'index.php?route=total/coupon/calculate',
data: $('#coupon :input'),
dataType: 'json',
beforeSend: function() {
$('#button-coupon').attr('disabled', true);
$('#button-coupon').after('<span class="wait"> <img src="catalog/view/theme/shoppica/image/loading.gif" alt="" /></span>');
},
complete: function() {
$('#button-coupon').attr('disabled', false);
$('.wait').remove();
},
success: function(json) {
if (json['error']) {
alert( json['error'] );
} else {
$("input[name=coupon]").val("");
alert( "<?php echo $text_payment_coupon_success; ?>" );
}
}
});
});
[removed]
<?php if ($text_agree): ?>
<div class="s_row_3 clearfix">
<?php if ($agree): ?>
<label class="s_checkbox"><input type="checkbox" name="agree" value="1" checked="checked" /> <?php echo $this->document->shoppica_text_agree_checkout; ?></label>
<?php else: ?>
<label class="s_checkbox"><input type="checkbox" name="agree" value="1" /> <?php echo $this->document->shoppica_text_agree_checkout; ?></label>
<?php endif; ?>
</div>
<span class="s_mb_20 clear border_eee"></span>
<?php endif; ?>
<div class="s_submit clearfix">
<a id="button-payment" class="s_button_1 s_main_color_bgr"><span class="s_text"><?php echo $button_continue; ?></span></a></td>
</div>
[removed]
jQuery( function($) {
$("a[rel^='prettyPhoto']").prettyPhoto({
theme: 'light_square', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
opacity: 0.5,
social_tools: "",
deeplinking: false
});
});
[removed]
Revise this Paste