Page 7 of 7

Re: GOP Cash On Delivery

Posted: Thu Sep 29, 2016 6:47 pm
by devilakos
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.

Re: GOP Cash On Delivery

Posted: Tue Dec 27, 2016 5:53 pm
by zamkufashion
how can i set product wise cod enable or disable??

Re: GOP Cash On Delivery

Posted: Thu Feb 16, 2017 5:28 pm
by kostandisppz
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

Re: GOP Cash On Delivery

Posted: Tue Mar 14, 2017 6:23 am
by garygajesjr
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

Re: GOP Cash On Delivery

Posted: Mon Apr 17, 2017 6:15 pm
by garygajesjr
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?

Re: GOP Cash On Delivery

Posted: Mon May 22, 2017 11:13 pm
by bogogrowth@gmail.com
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.

Re: GOP Cash On Delivery

Posted: Thu Jun 08, 2017 2:06 am
by mikkora
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

Re: GOP Cash On Delivery

Posted: Thu Jun 08, 2017 11:54 pm
by Myshquo
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?

Re: GOP Cash On Delivery

Posted: Fri Jun 16, 2017 5:10 pm
by fotis32
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

Re: GOP Cash On Delivery

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

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

Re: GOP Cash On Delivery

Posted: Tue Sep 05, 2017 9:16 pm
by johnsimeon
Καλησπέρα, το έχω εγκαταστήσει επιτυχώς μέσα στις παραγγελίες αλλά δεν μπορώ να το εγκαταστήσω μέσα στις πληρωμές.
Μου βγάζει HTTP ERROR 500.
Εχω καθαρίσει και την case αλλά τίποτα.
Χρησιμοποιώ Έκδοση 2.3.0.2
Τι μπορεί να φταίει;;;

Re: GOP Cash On Delivery

Posted: Wed Oct 11, 2017 1:07 am
by oytop
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

GoP Cash On Delivery- custom rule for vendor

Posted: Sun Dec 24, 2017 8:02 pm
by mongoosekart
I have a multi vendor website and I am using a Multi Vendor Drop Shipper extension. Can I use a custom rule in GoP Cash On Delivery so that COD is applicable only for a particular vendor. If yes, what code I should use for the same?

I have tried following code but it did't work.

if ($vendor_name='NAME')
{
$enabled=false;
}
else
{
$enabled=true;
}

Pls help. Thanks

Re: GoP Cash On Delivery- custom rule for vendor

Posted: Mon Dec 25, 2017 12:31 am
by straightlight
mongoosekart wrote:
Sun Dec 24, 2017 8:02 pm
I have a multi vendor website and I am using a Multi Vendor Drop Shipper extension. Can I use a custom rule in GoP Cash On Delivery so that COD is applicable only for a particular vendor. If yes, what code I should use for the same?

I have tried following code but it did't work.

if ($vendor_name='NAME')
{
$enabled=false;
}
else
{
$enabled=true;
}

Pls help. Thanks
No OC version posted. Partial code posted only.

Re: GOP Cash On Delivery

Posted: Mon Dec 25, 2017 12:03 pm
by mongoosekart
OC version is 1.5.6.4
I have pasted whole code used by me. Apart from this I have'nt used any other code in "Enable Rule".

Re: GOP Cash On Delivery

Posted: Wed Mar 14, 2018 8:14 pm
by vssoft
Hi,

I want to disable GOP cod module if cart contains 'Gift Certificate'

How to disable GOP Cod module by code if cart is having 'Gift Certificate'?

Thanks

Re: GOP Cash On Delivery

Posted: Wed Mar 14, 2018 9:21 pm
by straightlight
This inquiry is about a Marketplace extension. Contact the extension developer to resolve this issue.

Re: GOP Cash On Delivery

Posted: Fri May 04, 2018 7:47 pm
by Athanasios.G.D
Hello everybody...

Thank you Gkasios for this excellent extension. I'm using it for some time it with no problems at all.
I'm using and the "Weight Based Shipping" and now I want free shipping with 70€ and above. Everything is ok, but I have both options. First, the "free shipping" second, the "Weight Based Shipping" with the cost and third, the "Pick up from store". I'm using this code:

if($total<70)
{
$enabled=false;
}
else
{
$enabled=true;
}

to disable the "Weight Based Shipping" and have only the two options (the first and the third) when the 70€ triggered with no result. Can you help ?

Re: GOP Cash On Delivery

Posted: Wed Dec 05, 2018 2:47 am
by iplocker
Hello.
Does anybody knows how to disable the module in some categories only using category_id ?
Thanks
UPDATE: Solved! If someone wants the code sends me pm.

Re: GOP Cash On Delivery

Posted: Wed Apr 10, 2019 1:29 am
by was2134
Καλησπερα, εχω ενα προβλημα με το GOP Cash On Delivery Fee. Ολα λειτουργουν μια χαρα εκτος απο το οτι δεν μου προσθετει την αντικαταβολη (1.50 €) στο συνολο παραγγελιας. Εχω ενεργοποιησει το module απο τα συνολα παραγγελιας. Δεν ξερω τι μπορει να φταιει.