debreli
OpenCart-TR
catalog/controller/module/cart.php aç
bul
Kod:
$this->data['checkout'] = HTTPS_SERVER . 'index.php?route=checkout/shipping';
altına ekle
Kod:
$this->data['entry_email_address'] = $this->language->get('entry_email_address');
$this->data['entry_password'] = $this->language->get('entry_password');
$this->data['button_login'] = $this->language->get('button_login');
$this->data['button_logout'] = $this->language->get('button_logout');
$this->data['button_create'] = $this->language->get('button_create');
$this->data['action'] = (((HTTPS_SERVER) ? HTTPS_SERVER : HTTP_SERVER) . 'index.php?route=account/login');
$this->id = 'login';
catalog/language/turkish/module/cart.php aç
bul
Kod:
$_['heading_title'] = 'Alışveriş Sepeti';
altına ekle
Kod:
//Entry
$_['entry_email_address'] = 'E-Posta:';
$_['entry_password'] = 'Parola:';
// Buttons
$_['button_logout'] = 'Çıkış';
$_['button_create'] = 'Kayıt Ol';
catalog/view/theme/default/template/module/cart.tpl aç
bul
Kod:
<div class="middle">
altına ekle
Kod:
<?php if (!$this->customer->isLogged()) { ?>
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="module_login"> <b><?php echo $entry_email_address; ?></b><br />
<span style="text-align: left;"><input type="text" name="email" /></span>
<br />
<b><?php echo $entry_password; ?></b><br />
<input type="password" name="password" />
<br />
<div style="float:left; text-align: right;"><a href="<?php echo (((HTTPS_SERVER) ? HTTPS_SERVER : HTTP_SERVER) . 'index.php?route=account/create');?>" class="button"><span><?php echo $button_create; ?></span></a></div>
<div style="float:left; text-align: right;"><a onclick="$('#module_login').submit();" class="button"><span><?php echo $button_login; ?></span></a></div>
<br style="clear:both;"/>
</form>
<?php } ?>
Kod:
<script type="text/javascript"><!--
$('#module_login input').keydown(function(e) {
if (e.keyCode == 13) {
$('#module_login').submit();
}
});
//--></script>
catalog/controller/checkout/shipping.php dosyasını açın
bunu bulun
Kod:
$this->data['change_address'] = HTTPS_SERVER . 'index.php?route=checkout/address/shipping';
bununla değiştirin
Kod:
$this->data['change_address'] = HTTPS_SERVER . 'index.php?route=account/address';