Post by devilakos » Thu Sep 29, 2016 6:47 pm

Hello all.
I had the same problem, the cost was not displayed properly. The following is not a fix but a workaround to do your job. In my case I don't show any taxes or calculate them. it's included in the price.

edit file, catalog/model/payment/GOP_COD.php
change
line 202: $cost_and_tax=null; to $cost_and_tax='2.3';
line 337: 'cost' =>$cost, to 'cost' => '2.3',
line 337: 'cost_and_tax' => $cost_and_tax, to 'cost_and_tax' => '2.3',
change the 2.3 to whatever the COD charge is (including tax).

Also comment the following code: lines 321 to 328

Code: Select all

/*if($tax!=0)
{
	$title=$title.'('.$this->language->get('text_without_taxes').' '.$this->formatCurrency($cost).')';
}
}
	else
		{
		$title=$title.'('.$this->language->get('text_free').')';*/
If time permits i will try to find a solution on this and post it here.

Newbie

Posts

Joined
Thu Sep 29, 2016 6:30 pm

Post by zamkufashion » Tue Dec 27, 2016 5:53 pm

how can i set product wise cod enable or disable??

Newbie

Posts

Joined
Fri Dec 02, 2016 2:09 am

Post by kostandisppz » Thu Feb 16, 2017 5:28 pm

Hi there! We are really grateful for this free extension. This is far the best and most customizable cash on delivery extension for opencart. It is very convinient to customize cod for certain products, but is this possible for categories as well, using the value "category_id" ? Thank you

Newbie

Posts

Joined
Wed Aug 22, 2012 4:15 am

Post by garygajesjr » Tue Mar 14, 2017 6:23 am

Hi,
Thank you for your extension this really help me,
but I have a problem, can you help me, I want to disable weight base if I choose this COD with fee
Thanks in advance

New member

Posts

Joined
Sun Mar 05, 2017 9:18 pm

Post by garygajesjr » Mon Apr 17, 2017 6:15 pm

Hi,

Can this disable order totals of flat rate?
For example when I choose cod fee my order total of flat rate will hide/ disappear but when I choose bank transfer flat rate is as is?

New member

Posts

Joined
Sun Mar 05, 2017 9:18 pm

Post by bogogrowth@gmail.com » Mon May 22, 2017 11:13 pm

HI,
Thank you so much for such a nice extension. I am unable to change the COD Fee, it is contantly showing ( 2580.65 RS) . I want to fix it at 40 RS with each product. . i have tried each and every setting. Nothing Works. I have disabled "Shipping Method Geo Zone" . Please help me. I am using Journal theme.


Posts

Joined
Mon Oct 10, 2016 10:07 pm

Post by mikkora » Thu Jun 08, 2017 2:06 am

Hi
I installed the files and backend is working fine.
But i cant get cash on delivery payment option for checkout.
Im using Geozones Weight Shipping method.

GOP cash on delivery Settings:
Extension Status: enabled
General status: enabled
Shipping method ge zone: disabled

Under Geozones weight shipping
general status: enabled
shipping method geo zone: enabled
All areas
method: flat rate
flat rate: 5
Euro
order total: enabled
Status: enabled

I greatly appreciate your help.
br. Mikko

Newbie

Posts

Joined
Wed Oct 21, 2015 6:57 pm

Post by Myshquo » Thu Jun 08, 2017 11:54 pm

Hello, I have problem with installation. After installing payment method and clicking on edit button there is an error:

Code: Select all

Fatal error: Call to a member function uninstall() on a non-object in /polodrahokam.sk/web/admin/controller/extension/payment/GOP_COD.php on line 95
Where is the problem? What to do?

Newbie

Posts

Joined
Sun May 19, 2013 2:22 am

Post by fotis32 » Fri Jun 16, 2017 5:10 pm

I have install GOP COD and it works perfectly, i have a small issue. When i am trying to create a sale from the admin panel or edit an existing one it doesn't show me the Cash on Delivery method as option. What i am missing here?

Thanks

Newbie

Posts

Joined
Fri Jun 16, 2017 5:07 pm

Post by petsoukos » Tue Aug 29, 2017 3:23 am

Προσπαθώ να αλλάξω κάποιες τιμές αντικαταβολής με Custom Code, πχ
if($this->getTotal()<30) {
$cost = 2;
} else {
$cost = 0;
}
** Ενεργό Σύνολο Παραγγελίας

Δεν αλλάζει κάτι. Επίσης, μετά από ώρα κατάλαβα πως ότι και να αλλάξω δεν εφαρμόζεται. Έχω κάνει Clear Cache, Clear Vqmod, και clear OCMod... τα πάντα clear, αλλά δεν γίνεται τίποτα. Προσπαθώ πλέον στα logfile να δω τι γίνεται.

Newbie

Posts

Joined
Fri Nov 08, 2013 5:14 am

Post by johnsimeon » Tue Sep 05, 2017 9:16 pm

Καλησπέρα, το έχω εγκαταστήσει επιτυχώς μέσα στις παραγγελίες αλλά δεν μπορώ να το εγκαταστήσω μέσα στις πληρωμές.
Μου βγάζει HTTP ERROR 500.
Εχω καθαρίσει και την case αλλά τίποτα.
Χρησιμοποιώ Έκδοση 2.3.0.2
Τι μπορεί να φταίει;;;

Newbie

Posts

Joined
Mon Jul 24, 2017 9:17 pm

Post by oytop » Wed Oct 11, 2017 1:07 am

Hello Gkasios,
Thank you very much for the hard work you've done to make this module free.
I'd like to eliminate the cost of COD in case if the cart includes specific products.
In case if the cart has other products too, then cost should be a simple amount.

So looking through this forum I presume that my custom code should look something like this:

Code: Select all

$products=$this->getProducts();
$enabled=true;
foreach($products as $product)
{
  if($product['product_id']=='1' || $product['product_id']=='10' ..(and etc.)... || $product['product_id']=='234')
  {
       $cost=0;
  } else {
	$cost=400;
  }
}
Anyway, fiddling around with this module I couldn't even achive it displaying as a payment method.

Momently I use Opencart's built-in Cash on Delivery, but it keeps telling the same, no matter what products are in the cart, and can not be parametrized.
I also use X-Shipping Pro, but I think, that's not the subject of my case here...

Could you please lend me some help to my issue?
Thank you in advance for your kind reply.
Kind regards,

Roland

Newbie

Posts

Joined
Tue Oct 10, 2017 11:46 pm
Who is online

Users browsing this forum: No registered users and 9 guests