📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv11.demodesign.com.tr
/
catalog
/
model
/
extension
/
total
📝
sub_total.php
← Geri Dön
<?php class ModelExtensionTotalSubTotal extends Model { public function getTotal($total) { $this->load->language('extension/total/sub_total'); $sub_total = $this->cart->getSubTotal(); if (!empty($this->session->data['vouchers'])) { foreach ($this->session->data['vouchers'] as $voucher) { $sub_total += $voucher['amount']; } } $total['totals'][] = array( 'code' => 'sub_total', 'title' => $this->language->get('text_sub_total'), 'value' => $sub_total, 'sort_order' => $this->config->get('sub_total_sort_order') ); $total['total'] += $sub_total; } }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula