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

Post by mongoosekart » 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

Newbie

Posts

Joined
Tue Dec 13, 2016 10:06 pm

Post by straightlight » Mon Dec 25, 2017 12:31 am

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by mongoosekart » Mon Dec 25, 2017 12:03 pm

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".

Newbie

Posts

Joined
Tue Dec 13, 2016 10:06 pm

Post by vssoft » Wed Mar 14, 2018 8:14 pm

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

Active Member

Posts

Joined
Mon Jun 15, 2015 2:58 pm

Post by straightlight » Wed Mar 14, 2018 9:21 pm

This inquiry is about a Marketplace extension. Contact the extension developer to resolve this issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Athanasios.G.D » Fri May 04, 2018 7:47 pm

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 ?


Posts

Joined
Mon Feb 19, 2018 3:09 am

Post by iplocker » Wed Dec 05, 2018 2:47 am

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.

Active Member

Posts

Joined
Sun May 26, 2013 6:39 pm


Post by was2134 » Wed Apr 10, 2019 1:29 am

Καλησπερα, εχω ενα προβλημα με το GOP Cash On Delivery Fee. Ολα λειτουργουν μια χαρα εκτος απο το οτι δεν μου προσθετει την αντικαταβολη (1.50 €) στο συνολο παραγγελιας. Εχω ενεργοποιησει το module απο τα συνολα παραγγελιας. Δεν ξερω τι μπορει να φταιει.

Newbie

Posts

Joined
Mon Mar 27, 2017 6:19 pm
Who is online

Users browsing this forum: No registered users and 13 guests