Exactly where I placed it ...
The code in BLACK is current existing code in the zones.php file ... you add the new code in RED around and within the current existing code in BLACK in the zones.php file ...
Exactly where I placed it ...
The code in BLACK is current existing code in the zones.php file ... you add the new code in RED around and within the current existing code in BLACK in the zones.php file ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
@Ajeh
Just noted a little typo in the header of both files:
Don't think I will be alive thenCode:@version itemcat.php 1969 2104-01-03 06:57:21Z ajeh $![]()
Ajeh -
thanks so much! it is seems to be working fine but I am realizing that calculating the extra charge will always be related to the global rate Table. Currently I have that set to whatever they get on the malaysian continent (UPS Zone Rates).
The cat 12, and 15 has items shipped from the US. if someone buys and item from one of these categories that ships from the US to the US, the calculated rate is too high. Should be actually less that as if it is shipped from Malaysia (all the categories not affected my the mod).
hope I am making sense.
thanks!
g
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Ajeh -
I am sorry if I confused you. Reading again my post I can see it's confusing. The scenario is really simple:
The store has 3 categories:
- Two of the categories has products originating in Malaysia. The manufacturer here prefers the Zone Rate module.
- One category has products originating in USA. The manufacturer here prefers the Per Unit if shipped in the USA and the USPS if shipped worldwide.
Both locations are shipping worldwide including even their country of origin. Chances are that a customer say from... Romania would have a product from Malaysia and from the USA in the cart.
A friend mentioned that you wrote a mod somewhere where you can selectively disable shipping modules based on categories. Is this thread addressing that? That would be the ideal situation for me.
does this make sense? Again I apologize for the confusion.
thanks
g
On the Zone Rate zones shipping module, use the Zones in order as in Zone 1, Zone 2, Zone 3 etc. Do not skip Zones and then add more in Zones ...
You appear to be skipping Zones then using a Zone then skipping Zones then using Zone ...
I am going to have to think on this more as there will be issues when someone orders from multiple categories ...
Perhaps if you could spell out what shipping method is suppose to show for which Category and what to do when there is a mixed cart of Products from each of the categories and what shipping module should then be used ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I was skipping zones - that might have been the issue.
Thanks Ajeh - sure it is simple:
Category 1 (and its nested categories): using Zone Rates
Category 2 (and irs nested categories): using USPS api
It might be easier to just make a separate purchase for items from each location because indeed, if customer has items from different location, calculating the shipping rate might be a pain. But here's an idea:
What if customer has mixed items from different categories in the cart, price is calculated using the cheapest rate for each location? Example:
Item from category 1 (using Zone Rates)
Item form Category 2 (using USPS api)
Shipping rate total should be Zone Rate + Cheapest USPS rate
thanks
g
On Category 1 and is subcats, are you actually just trying to charge $4.00 per 0.5lbs?
What happens to those not in the Countries for:
HK, US, CA, MX and PR
are you just trying not to ship the Products in Category 1 and subcats to anywhere not in these 5 countries?
Do your Products that use USPS ship everywhere or only to these 5 countries?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hello everyone !!
I have been searching for quite few days, but could not find anywhere..
I will be thankful if someone helps me here....
I want to setup shipping module that calculates the shipping cost by weight as well as price.
I am using two types of shipping on my website https://shopping.muteyaar.org - expedited shipping and regular mail shipping , both with zone rates that calculate by weight of shipment.
Now, the problem is that I want to restrict regular mail shipping for orders of high value (say USD 100 for example). I have already restricted the weight element to 1 KG. More than 1 KG is not shipped through regular mail... But I want also want to restrict the price value.
I mean I want to restrict regular mail shipping for orders of more than 100 USD price and 1 KG weight.
Only the orders with value less than 100 USD and weight 1 KG should be able to be shipped through regular mail......
Is that possible?
Kindly help me out on this.
thanks in advance.
Bookmarks