We launched a couple of months ago a new Free Extension for Cash on Delivery and Cash on Pickup but for some reason the Tagging doesn’t work and so it doesn’t appear if you search this terms. We would like if you have the time to download it, try it and tell us your opinion.
http://www.opencart.com/index.php?route ... n_id=11301
http://www.opencart.com/index.php?route ... n_id=11301
Hi
Some of our Extension features are:
• Setting different options based on the Shipping Methods Installed and the Geo Zones that are configured.
• Setting COD cost as Flat Rate or Percentage Rate plus the ability to add a Custom Rate with php code.
• Setting Tax Class for auto calculating total COD cost.
• Setting Currency for auto calculating in different currencies
• Enabling/Disabling Extension with Custom Rule.
..and more.
We believe that this is the most featured Cash On Delivery Extension that you will find for OpenCart.
Some of our Extension features are:
• Setting different options based on the Shipping Methods Installed and the Geo Zones that are configured.
• Setting COD cost as Flat Rate or Percentage Rate plus the ability to add a Custom Rate with php code.
• Setting Tax Class for auto calculating total COD cost.
• Setting Currency for auto calculating in different currencies
• Enabling/Disabling Extension with Custom Rule.
..and more.
We believe that this is the most featured Cash On Delivery Extension that you will find for OpenCart.
We also like to announce you that we just updated our Extension adding even more features.
You can download it here: http://www.opencart.com/index.php?route ... n_id=11301
You can download it here: http://www.opencart.com/index.php?route ... n_id=11301
Yes pretty much you can do anything with our custom option.
First download and install our latest edition that we just re-releashed (we did some gui improvements and add it some easy to use functions)
Then add this Enable Rule
And your done. We hope this will help you.
First download and install our latest edition that we just re-releashed (we did some gui improvements and add it some easy to use functions)
Then add this Enable Rule
Code: Select all
if($this->isCartOutOfStock())
{
$enabled=false;
}
Looks like an extension i could use, but im abit baffled by the endless options and fear what i require is something more simple. perhaps you could help with the settings?
Basically i want to use it as follows.
If order is less than £12.00 delivery method "pick up from store"
If order is above £12.00, delivery method "free shipping"
Basically i want to use it as follows.
If order is less than £12.00 delivery method "pick up from store"
If order is above £12.00, delivery method "free shipping"
Hi and thank you for your time
This is a payment method not a delivery method so it can’t alter your delivery methods. Our extension is the next step after your customer choose a delivery method.If order is less than £12.00 delivery method "pick up from store"
If you wish to change the Cash On Delivery method from for example a fix price to free then you go to your shipping method tab in our extension and you use the custom method adding the following codeIf order is above £12.00, delivery method "free shipping"
Code: Select all
if($total>12)
{
$cost=0;
}
else
{
$cost=100;//what ever you wish to cost
}
Sorry, i just realised what i typed. I was so busy that day with delivery methods i wrote that instead of payment methods!
What i ment was, if order is below £12, payment method = pay on collection
If order above £12 payment method = pay on delivery.
Both these examples would be similar to a COD, both being a free delivery charge.
What i ment was, if order is below £12, payment method = pay on collection
If order above £12 payment method = pay on delivery.
Both these examples would be similar to a COD, both being a free delivery charge.
No problem we are mistakes and we make humans ( :-P we are humans and we make mistakes).
So as we posted above the first thing to do is enable your delivery method extension (ex. Weight Based Shipping).
By doing so now in our extension you will find a tab with the name of that delivery method extension.
For example Weight Based Shipping is the method you want to add a cod.
So for you to do that you should first enable this option by selecting the tab saying ‘Weight Based Shipping' and then the tab General where you can enable it. After that let’s say you want the COD method to be available only in one Geo Zone so you should go in any Geo Zone that you don’t want and disable it and enabled only in the Geo Zone you do want this payment to be available. And now is the part where you will use the above code.
You select the tab with the Geo Zone you want to use and select the custom method. Then you copy/paste the above code and save.
Now when a customer selects the weight based shipping and his shipping address belongs in the enabled Geo Zone then if his order is below 12 the cod will cost 100 (change the number in the code that’s for the example) but if the order costs over 12 then it will be free. If the shipping address is in another Geo Zone then the cod option will not be available.
In our extension you can set different options based on Shipping Method and Geo Zone so you can also enable the pick up from store shipping extension and then in our extension choose the flat rate with cost 0 so it will be free.
We know it is a bit tricky to get it at first because we add it so many options but when you understand the basics you will see that it will allow you easily to create as many different cods as you want. We hope that the above example will help you in setting up your store.
So as we posted above the first thing to do is enable your delivery method extension (ex. Weight Based Shipping).
By doing so now in our extension you will find a tab with the name of that delivery method extension.
For example Weight Based Shipping is the method you want to add a cod.
So for you to do that you should first enable this option by selecting the tab saying ‘Weight Based Shipping' and then the tab General where you can enable it. After that let’s say you want the COD method to be available only in one Geo Zone so you should go in any Geo Zone that you don’t want and disable it and enabled only in the Geo Zone you do want this payment to be available. And now is the part where you will use the above code.
You select the tab with the Geo Zone you want to use and select the custom method. Then you copy/paste the above code and save.
Now when a customer selects the weight based shipping and his shipping address belongs in the enabled Geo Zone then if his order is below 12 the cod will cost 100 (change the number in the code that’s for the example) but if the order costs over 12 then it will be free. If the shipping address is in another Geo Zone then the cod option will not be available.
In our extension you can set different options based on Shipping Method and Geo Zone so you can also enable the pick up from store shipping extension and then in our extension choose the flat rate with cost 0 so it will be free.
We know it is a bit tricky to get it at first because we add it so many options but when you understand the basics you will see that it will allow you easily to create as many different cods as you want. We hope that the above example will help you in setting up your store.
Hi heres an example of a custom payment
And here a custom enable rule
We hope it helps you
Code: Select all
$weight = $this->getWeight();
if($weight<100)
{
$cost=10;
}
Code: Select all
$weight = $this->getWeight();
if($weight<100)
{
$enabled=false;
}
i want to charge an amount for cash on delivery if the order total is below 999.00 for that i have written the following code
if($total<999)
{
$cost=60;
}
elseif($total>999)
{
$cost=0;
}
{
$enabled=false;
}
but it gives an error
Parse error: syntax error, unexpected '<' in /home/chayph1a/public_html/catalog/model/payment/gop_COD.php(242) : eval()'d code on line 1
can u please help me on it
if($total<999)
{
$cost=60;
}
elseif($total>999)
{
$cost=0;
}
{
$enabled=false;
}
but it gives an error
Parse error: syntax error, unexpected '<' in /home/chayph1a/public_html/catalog/model/payment/gop_COD.php(242) : eval()'d code on line 1
can u please help me on it
Hi use the below code in the custom payment
This is wrong that is why you get an error
if you want to use cash on delivery only for orders below 999 and disabled for anything above use the below custom enable rule
Code: Select all
if($total<999)
{
$cost=60;
}
else
{
$cost=0;
}
This is wrong that is why you get an error
Code: Select all
{
$enabled=false;
}
Code: Select all
if($total<999)
{
$enabled=true;
}
else
{
$enabled=false;
}
Who is online
Users browsing this forum: No registered users and 101 guests