ADDON: Supported Shipping Methods

Well I just had Alt-Team do an addon that makes it so I can select specific shipping methods on a per product basis.



Basically, I have some products that require Overnight shipping. If one of these products is in the customer's cart, I don't want the other methods shown since I can't ship any other method besides Overnight.



So this addon makes it so that the different methods can be selected directly from the product page in the admin. Here is a screen shot to give you an idea:



[attachment=4531:shipping_method.JPG]



To install this addon, just copy over the files and then install it from the admin.



Yes this addon does overwrite core CS-Cart files. I wish it was different, but it is what it is.



Also, this is only compatible with CS-Cart 2.2.1. Alt-Team says it should work for 2.2.2, but that the core/fn.cart.php file would need to be manually changed. Since my cart is still on 2.2.1, I haven't bothered to upgrade it.



After the addon is installed, just go to one of your products in the admin and click on the Addons tab. There you will see the supported methods. Just check the boxes that match, and you'll be all set.



If none of the boxes are checked, all methods will be available for that product.



I hope you guys find this useful.



Thanks,



Brandon

shipping_method.JPG

supported_shippings.zip

Dude thanks as always for your generous nature.

Can this works on 2.1.4 version ?

I highly doubt it.



You might be able to change the core/fn.cart.php file around, but I have no clue if it is possible.



You could contact Alt-Team and see if they can change modify this to work for you. Just let them know that I posted the addon here on the forum and I'd imagine that they'd do it for you for a reasonable fee.



Thanks,



Brandon

Hi brandon.

First of all thanks for the great job in the forum.you are helping us many times!

i want to ask you something.

is this addon work on 2.2.4?i installed it and it seems to work ok but there was a problem.

in the checkout page when i push the button to go on, to the next step of : review and order placement, nothing happens.

it stays in the field : payment and shiping.

is there a solution for this?

i would appreciate it very much.

Yes and no. The core/fn.cart.php file or whatever got updated in 2.2.4 so you have to take the code from this addon and put it into the new file. I think the change is commented with hex so it should be pretty easy to find. There are only one or two changes.



You could also use a program like WinMerge to tell the difference.



I've attached my file so you can have an idea.



Hope that helps,



Brandon

[quote name='brandonvd' timestamp='1328197059' post='130488']

Yes and no. The core/fn.cart.php file or whatever got updated in 2.2.4 so you have to take the code from this addon and put it into the new file. I think the change is commented with hex so it should be pretty easy to find. There are only one or two changes.



You could also use a program like WinMerge to tell the difference.



I've attached my file so you can have an idea.



Hope that helps,



Brandon

[/quote]



Thanks for the tip. I was having the same problem but i fixed the file as you suggested and it doesn't hang anymore. Brilliant! This addon kills my long standing problem of customers picking the wrong shipping method.

Brilliant Idea !

Useful also for large items / fragile which cannot be shipped by Express Services

i'll give it a try thank you very much!!!

Thank you for very useful addon!



In 2.2.4 I had to add to fn.cart.php:



line 2261:


fn_set_hook('recalculate_rates', $shipping_rates);


line 3674:


fn_set_hook('apply_cart_shipping_rates_pre', $cart, $shipping_rates);




It seems work fine but I got error after I choose shipping methods on a product page:


Warning: Missing argument 1 for fn_get_shippings(), called in /home/xxx/public_html/store/addons/supported_shippings/controllers/admin/products.post.php on line 32 and defined in /home/xxx/public_html/store/core/fn.cart.php on line 1410




Any ideas?

Has anyone translated it to 2.1.4 ?

Ive got too many core changes to go updating.

[quote name='AXeOMA' timestamp='1328634698' post='130769']

Thank you for very useful addon!



In 2.2.4 I had to add to fn.cart.php:



line 2261:


fn_set_hook('recalculate_rates', $shipping_rates);


line 3674:


fn_set_hook('apply_cart_shipping_rates_pre', $cart, $shipping_rates);




It seems work fine but I got error after I choose shipping methods on a product page:


Warning: Missing argument 1 for fn_get_shippings(), called in /home/xxx/public_html/store/addons/supported_shippings/controllers/admin/products.post.php on line 32 and defined in /home/xxx/public_html/store/core/fn.cart.php on line 1410




Any ideas?

[/quote]



I have same error, find any fix? This is a must-have addon for me.

Thank you for your generous contribution brandon.

I have had the supported shipping methods updated for use with 2.2.4



copy of updated addon attached.



John Carroll

supported_shippings.tar.gz

has anyone tried this?

[quote name='JohnCarroll' timestamp='1336315069' post='135953']

I have had the supported shipping methods updated for use with 2.2.4



copy of updated addon attached.



John Carroll

[/quote]Hey,





Can you update it to use with V3?



Thanks

I am using it with V3.0.2 no changes needed



John

[quote name='JohnCarroll' timestamp='1350924926' post='147503']

I am using it with V3.0.2 no changes needed



John

[/quote]Hey,



The fn.cart.php file need to be update, I just don't how.



Its displaying all the shipping methods, even if I seclect the one I want.

Is this working for anyone else that are using the V3?

[quote name='tom437' timestamp='1351828814' post='148173']

Is this working for anyone else that are using the V3?

[/quote]Anyone