Post by Flashmobile » Fri Oct 04, 2013 3:30 pm

Version of OpenCart: 1.5.6
Clean install

Hello,
My inventory consists of goods that are shipped internationally and some are limited for shipping to a certain country only. I am looking for a solution to set up the shipping properly. Please respond.
Last edited by Flashmobile on Tue Oct 08, 2013 3:23 pm, edited 3 times in total.

Newbie

Posts

Joined
Mon Sep 30, 2013 5:04 am

Post by Johnathan » Sat Oct 05, 2013 3:10 am

I have a Restrict Shipping Methods extension that lets you set which shipping methods are enabled for certain products and locations. This would disable all shipping methods when those products are in the cart, though, so you'd need to change the "no shipping methods" error message to something more appropriate in /catalog/language/english/checkout/checkout.php

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Flashmobile » Sun Oct 06, 2013 10:11 am

Johnathan, thanks for interesting info.

Newbie

Posts

Joined
Mon Sep 30, 2013 5:04 am

Post by Flashmobile » Tue Oct 08, 2013 3:17 pm

The solution suggested by Johnathan is somewhat complicated. I wonder if there is another workaround?

Newbie

Posts

Joined
Mon Sep 30, 2013 5:04 am

Post by Johnathan » Tue Oct 08, 2013 10:36 pm

How is it complicated exactly? My extension can do it with two restrictions, assuming that all the products are restricted to a specific country:

RESTRICTION #1
Shipping Methods: (all)
Geo Zone: (the specific country)

RESTRICTION #2
Shipping Methods: (all)
Geo Zone: (all zones except the specific country)
Products: NONE, (your restricted products)

Or are you looking for a free solution? In that case, you'd need to make sure your shipping method accounts for this, such as a weight-based scheme where the restricted products have a very high weight. That could then disable the method for the specific country.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by improvedance » Fri Sep 19, 2014 1:07 am

Johnathan wrote:How is it complicated exactly? My extension can do it with two restrictions, assuming that all the products are restricted to a specific country:

RESTRICTION #1
Shipping Methods: (all)
Geo Zone: (the specific country)

RESTRICTION #2
Shipping Methods: (all)
Geo Zone: (all zones except the specific country)
Products: NONE, (your restricted products)

Or are you looking for a free solution? In that case, you'd need to make sure your shipping method accounts for this, such as a weight-based scheme where the restricted products have a very high weight. That could then disable the method for the specific country.
Reviving an old thread!
I am interested in the free solution you mentioned. How would i use this method? Do I set the product's weight i wish to restrict from a certain country outside of the range i specify in the weight based shipping module? But how do i then restrick that shipping weight to the country i wish to exclude?

Novice Web"master" though i wouldn't say master at all.


New member

Posts

Joined
Sat Jan 04, 2014 11:45 am

Post by Dhaupin » Fri Sep 19, 2014 6:28 am

Use the 3rd and 4th decimal places on the weight to something like 11, then make a trigger. So .0011 wouldn't round the 10th and 100th decimal places, therefore hiding the change for other methods.

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by improvedance » Fri Sep 19, 2014 8:12 am

what do you mean by trigger? can you be more specific?

Would I:
Product 1 = Sell worldwide (including USA)
Product 2 = Sell worldwide (Minus USA and Australia)

Product 1 weight = 1.0011
Product 2 weight = 0.0011

In the shipping module make the geozones correspond with the weights above (i use 0.00 because i offer free shipping):
WorldWide (applies to product 1) to 1.0011:0.00
WorldWide minus USA and Aust. (Applies to product 2) to 0.0011:0.00


I did that, but if a customer from, lets say Canada, tries to buy both product 1 and product 2 -- no shipping option becomes available because the shipping weight is over the specified weight in the module. I suppose i could make another Geozone that minuses USA and Australia that doesn't have a weight restriction, or one that has a very high weight.. but then i would always have two options for shipping, for example if a customer from Canada buys product 2 only, both shipping options will be available (because the weight will correspond in both categories but do the same thing (ship the product for free, which could confuse the customer)


Hopefully i explained that well enough to understand.. Thanks!

Novice Web"master" though i wouldn't say master at all.


New member

Posts

Joined
Sat Jan 04, 2014 11:45 am

Post by Dhaupin » Fri Sep 19, 2014 10:30 am

By trigger i mean, a sneaky way to insert modifiers which has a method to change outcomes without harming others. But your points are good, you bring up what if both, which def messes up other stuff. My apologies, wrote that from mobile (rather bluntly), should have tested dual items first.

Was also thinking the product "location" field on items since its like a spare DB field for tagtriggers to disable but again you may run into trouble with globalism.

Honestly Jonathans mod is good, it can do this. We bought other of his mods for a store and they are super flexible. Totally recommended. Normally its DIY all the way but some big mods are so versitile its worth the hours saved,

https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.


User avatar
Active Member

Posts

Joined
Tue May 13, 2014 3:45 am
Location - PA

Post by improvedance » Sat Sep 20, 2014 9:11 pm

Ok. Thanks. I will look into his mod

Novice Web"master" though i wouldn't say master at all.


New member

Posts

Joined
Sat Jan 04, 2014 11:45 am
Who is online

Users browsing this forum: Bing [Bot] and 106 guests