sundayo Posted July 22, 2005 Share Posted July 22, 2005 Hi, I've searched the forums and the contribs, but maybe I'm just not thinking of the right words.... Anyway, we want to use 2 shipping methods. The method chosen needs to be determined by the destination. For example: Customer A is from Canada - we want OsC to only display UPS shipping options. Customer B is from anywhere else in the world - we want OsC to display only USPS shipping options. We want both Customers A & B to be able to choose their level of shipping, but only from their particular carrier. I hope that makes sense.... We don't want zones or tables or anything. Shipping should still be weight based.... SundayO Link to comment Share on other sites More sharing options...
boxtel Posted July 22, 2005 Share Posted July 22, 2005 Hi, I've searched the forums and the contribs, but maybe I'm just not thinking of the right words.... Anyway, we want to use 2 shipping methods. The method chosen needs to be determined by the destination. For example: Customer A is from Canada - we want OsC to only display UPS shipping options. Customer B is from anywhere else in the world - we want OsC to display only USPS shipping options. We want both Customers A & B to be able to choose their level of shipping, but only from their particular carrier. I hope that makes sense.... We don't want zones or tables or anything. Shipping should still be weight based.... SundayO <{POST_SNAPBACK}> then you will have to alter these modules so they disable themselves depending on shipping country. Treasurer MFC Link to comment Share on other sites More sharing options...
sundayo Posted July 22, 2005 Author Share Posted July 22, 2005 then you will have to alter these modules so they disable themselves depending on shipping country. <{POST_SNAPBACK}> Yes, but how? :( Link to comment Share on other sites More sharing options...
boxtel Posted July 22, 2005 Share Posted July 22, 2005 Yes, but how? :( <{POST_SNAPBACK}> any "standard" module has this variable : $this->enabled = xxxxxxxx; that is normally defined by the enabling constant in your configuration. so the first thing you do in the module before it executes its normal logic at: if ($this->enabled == true) { etc...... is : 1) check if the shipping country is valid for this module 2) if not, set this variable to false Treasurer MFC Link to comment Share on other sites More sharing options...
mi_jaiten Posted July 22, 2005 Share Posted July 22, 2005 Yes, but how? :( <{POST_SNAPBACK}> If you goto osC Administration Panel > Modules > Shipping you will see that you have module options, you can install all if you wish, what you will need to do is tell the module method i.e. UPS what Zone/Country and whether to show or not. Just read and do a practice set up, I think you'll find they'll do what you want You have these 6 types of Shipping Modules options: Shipping Modules =================== 1) Set a method name i.e. International 2) Per Item 3) Table Rate 4) United Parcel Service 5) United States Postal Service 6) Zone =================== Therefor you could set Nr 1 as the rest of the world and Nr 6 as Zone - Canada with also the options of choosing UPS or USPS Kind Regards, Michelle Link to comment Share on other sites More sharing options...
sundayo Posted July 22, 2005 Author Share Posted July 22, 2005 If you goto osC Administration Panel > Modules > Shipping you will see that you have module options, you can install all if you wish, what you will need to do is tell the module method i.e. UPS what Zone/Country and whether to show or not. Just read and do a practice set up, I think you'll find they'll do what you want You have these 6 types of Shipping Modules options: Shipping Modules =================== 1) Set a method name i.e. International 2) Per Item 3) Table Rate 4) United Parcel Service 5) United States Postal Service 6) Zone =================== Therefor you could set Nr 1 as the rest of the world and Nr 6 as Zone - Canada with also the options of choosing UPS or USPS Kind Regards, Michelle <{POST_SNAPBACK}> My first option isn't "Set a method name".... it's Flat Rate.... Maybe that's my problem? Link to comment Share on other sites More sharing options...
sundayo Posted July 22, 2005 Author Share Posted July 22, 2005 any "standard" module has this variable : $this->enabled = xxxxxxxx; that is normally defined by the enabling constant in your configuration. so the first thing you do in the module before it executes its normal logic at: if ($this->enabled == true) { etc...... is : 1) check if the shipping country is valid for this module 2) if not, set this variable to false <{POST_SNAPBACK}> I'm sorry, but I don't understand a word you just said. :blush: Link to comment Share on other sites More sharing options...
sundayo Posted July 22, 2005 Author Share Posted July 22, 2005 Ok, how about this then. How would I just make OsC display all shipping options for everywhere except Canada. For Canada, display only UPS. If it's something in the coding, then please assume that I know nothing and explain very gently. ;) SundayO Link to comment Share on other sites More sharing options...
mi_jaiten Posted July 22, 2005 Share Posted July 22, 2005 My first option isn't "Set a method name".... it's Flat Rate.... Maybe that's my problem? <{POST_SNAPBACK}> Yea sorry in the original osC it's called 'Flat Rate' what I simply meant as an example, is that you can change the name from 'Flat Rate' to lets say 'Canada' and put a fixed Rate for that Country or what ever! I'm sure you can work out a suitable shipping method from the modules available then use UPS and USPS for the rest of the world. Just re-read your last post Ok, how about this then. How would I just make OsC display all shipping options for everywhere except Canada. For Canada, display only UPS. If it's something in the coding, then please assume that I know nothing and explain very gently. SundayO The simplest way would be to go into Admin > Locations / Taxes > Countries and just delete Canada from the list Is that any good. Michelle Link to comment Share on other sites More sharing options...
sundayo Posted July 22, 2005 Author Share Posted July 22, 2005 Yea sorry in the original osC it's called 'Flat Rate' what I simply meant as an example, is that you can change the name from 'Flat Rate' to lets say 'Canada' and put a fixed Rate for that Country or what ever! I'm sure you can work out a suitable shipping method from the modules available then use UPS and USPS for the rest of the world. Just re-read your last post The simplest way would be to go into Admin > Locations / Taxes > Countries and just delete Canada from the list Is that any good. Michelle <{POST_SNAPBACK}> I'm confused. Why would I want to delete Canada? I still want to ship there, just not by USPS. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.