can you help me
when i enable rule it does not show the
cash on delivery fee to 0 in the invoice
rather i dont want to charge the amount
but i want to show the amount as 0 in invoice
when i enable rule it does not show the
cash on delivery fee to 0 in the invoice
rather i dont want to charge the amount
but i want to show the amount as 0 in invoice
You must enable Total Order in your options and also don’t forget to get GOP Cash on Delivery Fee extension located under Extensions > Totals enabled too
When an Extension doesn’t appear in your OpenCart go and check that you have permissions. The permissions can be found in System > Users > User Group then edit the User Group that you are in (usually Top Administrator) and check the Extension.
Here is an example. If in the cart there is a product with id 100 then Cash On Delivery will be disabled
if you change this
with this
you can check with the name.
Hope it helps you.
Code: Select all
$products=$this->getProducts();
$enabled=true;
foreach($products as $product)
{
if($product['product_id']=='100')
{
$enabled=false;
}
}
Code: Select all
$product['product_id']
Code: Select all
$product['name']
Hope it helps you.
But i want to get on order total ->> Cash on delivery fee 0 or Freekrishnatech wrote:can you help me
when i enable rule it does not show the
cash on delivery fee to 0 in the invoice
rather i dont want to charge the amount
but i want to show the amount as 0 in invoice
If we understand it your question you want when your customer reach in the last step of the payment (Total Order) to have the Cash on Delivery to appear with its value (zero in your case). If that is your question then do as we told you above and check that the Extension GOP Cash on Delivery Fee is installed and enabled and that also you selected Enable in the option Total Order located near the end of our Extensions options. If that is not your problem please rephrase your question better.
I sent an email to bug@gkasios.com because of an incompatibility with this extension and "Checkout and Registration Simple" extension. The total order doesn't appear with this extension.
Many thanks!
Many thanks!
Για να δώσετε τις ίδιες επιλογές και για τις δύο ομάδες απλά κάντε τις ίδιες ρυθμίσεις και στις δύο. Οι επιλογές στο extension μας γίνονται ως εξής.
Μέθοδος αποστολής > Γεωγραφική Ζώνη > Ομάδα Πελατών και έπειτα ορίζουμε τις επιλογές μας για αυτό τον συνδυασμό.
Στην περίπτωση σας δηλαδή π.χ. Παραλαβή από το κατάστημα > Ελλάδα > Πελάτες με Απόδειξη και κάντε το Extension ανενεργό και μετά Παραλαβή από το κατάστημα > Ελλάδα > Πελάτες με Τιμολόγιο και επίσης κάντε το extension ανενεργό.
Αντίστοιχα στην αποστολή με courier θα φτιάξετε έναν κανόνα να απενεργοποιεί το extension για ποσό πάνω από 50€ π.χ.
Μέθοδος αποστολής > Γεωγραφική Ζώνη > Ομάδα Πελατών και έπειτα ορίζουμε τις επιλογές μας για αυτό τον συνδυασμό.
Στην περίπτωση σας δηλαδή π.χ. Παραλαβή από το κατάστημα > Ελλάδα > Πελάτες με Απόδειξη και κάντε το Extension ανενεργό και μετά Παραλαβή από το κατάστημα > Ελλάδα > Πελάτες με Τιμολόγιο και επίσης κάντε το extension ανενεργό.
Αντίστοιχα στην αποστολή με courier θα φτιάξετε έναν κανόνα να απενεργοποιεί το extension για ποσό πάνω από 50€ π.χ.
Code: Select all
if($this->getTotal()>50){$enabled=false;}
Thank you for providing this great extension for free.
I am using different stock status for different products:
The stock status used be me are as below:
In Stock
Avaialable
Imported
Out of Stock
I want to show the COD option for items 'In Stock' only with a fixed price for COD shipping charge.
how can i do it. can u give the code ?
I am using different stock status for different products:
The stock status used be me are as below:
In Stock
Avaialable
Imported
Out of Stock
I want to show the COD option for items 'In Stock' only with a fixed price for COD shipping charge.
how can i do it. can u give the code ?
If we understand your question you need something like this enable rule
Code: Select all
if($this->isCartOutOfStock()){$enabled=false;}
Καλησπέρα.Το πρόβλημά μου είναι όταν διαλέγω παραλαβή από το κατάστημα στο επώμενο βήμα υπάρχει ο τρόπος πληρωμής.Σε αυτό το σημείο έχω βάλει την τραπεζική κατάθεση που υπάρχει σαν επιλογή και υπάρχει και το δικό σου που λέει Αντικαταβολή(Δωρεάν). Μπορούμε να το κάνουμε να δείχνει αντι για Αντικαταβολή, Μετρητά στο κατάστημα? Σε ευχαριστώ πολύ
Υπάρχουν τρείς τρόποι
- 1. Αν δεν χρησιμοποιούμε την αντικαταβολή για οτιδήποτε άλλο να αλλάξετε το αρχείο της μετάφρασης που βρίσκεται /catalog/language/greek/payment/GOP_COD.php
2. Custom rule: Κάνοντας χρήση της μεταβλητής3. Αλλαγή της μετάφρασης της αντικαταβολής που ενσωματώνει το OpenCart και απενεργοποίηση του δικού μας extension όταν επιλέγεται παραλαβή από το κατάστημα.Code: Select all
$title='Μετρητά στο κατάστημα';
Σε ευχαριστώ πάρα πολύ δούλεψε αλλά στο final check out παραμένει "Χρέωση Αντικαταβολής" οπότε λέω μήπως πέραν του $title='Μετρητά στο κατάστημα'; πρέπει να προσθέσω και κάτι αλλο στο custom ? To βρήκα. έβαλα
$title='Μετρητά στο κατάστημα';
$order_total_title='Μετρητά στο κατάστημα';
και δούλεψε. Να σαι καλά.
Πολύ ωραίο το module, πολύ χρήσιμο.
$title='Μετρητά στο κατάστημα';
$order_total_title='Μετρητά στο κατάστημα';
και δούλεψε. Να σαι καλά.
Πολύ ωραίο το module, πολύ χρήσιμο.
Who is online
Users browsing this forum: No registered users and 49 guests