Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

ADDON: Supported Shipping Methods Rate Topic   - - - - -

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2632 posts

Posted 09 September 2011 - 08:14 PM #1

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:

Attached File  shipping_method.JPG   13.95KB   816 downloads

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

Attached Files



 
  • whiplash13
  • PM Extraordinaire
  • Members
  • Join Date: 01-Feb 08
  • 704 posts

Posted 09 September 2011 - 09:10 PM #2

Dude thanks as always for your generous nature.
John
CS Cart 4.2.4

 
  • miracles
  • Senior Member
  • Members
  • Join Date: 19-Sep 07
  • 1533 posts

Posted 10 September 2011 - 07:27 AM #3

Can this works on 2.1.4 version ?
CS-CART 3.0.6 GRENADE

Please vote for CDN Add-on

For SEO Article Submission, Forum Profile Links, Web 2.0 links, contact me through PM.

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2632 posts

Posted 10 September 2011 - 08:01 AM #4

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

 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 233 posts

Posted 02 February 2012 - 12:20 PM #5

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.

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2632 posts

Posted 02 February 2012 - 03:37 PM #6

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

 
  • dotell
  • Junior Member
  • Trial users
  • Join Date: 21-Oct 09
  • 216 posts

Posted 06 February 2012 - 08:57 AM #7

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


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.

 
  • cyberlex7
  • Junior Member
  • Members
  • Join Date: 30-Dec 07
  • 26 posts

Posted 07 February 2012 - 06:35 AM #8

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

 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 233 posts

Posted 07 February 2012 - 01:05 PM #9

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

 
  • AXeOMA
  • Junior Member
  • Members
  • Join Date: 25-Dec 07
  • 55 posts

Posted 07 February 2012 - 05:11 PM #10

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?
"I am not young enough to know everything." Oscar Wilde.

 
  • remoteone
  • Member
  • Members
  • Join Date: 06-Oct 09
  • 736 posts

Posted 16 February 2012 - 12:20 AM #11

Has anyone translated it to 2.1.4 ?
Ive got too many core changes to go updating.

 
  • dotell
  • Junior Member
  • Trial users
  • Join Date: 21-Oct 09
  • 216 posts

Posted 24 February 2012 - 12:08 PM #12

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?


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

 

Posted 28 February 2012 - 04:25 PM #13

Thank you for your generous contribution brandon.

 

Posted 06 May 2012 - 02:37 PM #14

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

copy of updated addon attached.

John Carroll

Attached Files


John Carroll
My Webshop: Alpha Spas

 
  • akistdm
  • Senior Member
  • Trial users
  • Join Date: 09-Oct 11
  • 233 posts

Posted 11 May 2012 - 12:25 PM #15

has anyone tried this?

 
  • tom437
  • Senior Member
  • Members
  • Join Date: 10-Jul 10
  • 635 posts

Posted 22 October 2012 - 04:00 PM #16

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

copy of updated addon attached.

John Carroll

Hey,


Can you update it to use with V3?

Thanks
3.0.4
Hosting for less.
www.step2stephosting.com

 

Posted 22 October 2012 - 04:55 PM #17

I am using it with V3.0.2 no changes needed

John
John Carroll
My Webshop: Alpha Spas

 
  • tom437
  • Senior Member
  • Members
  • Join Date: 10-Jul 10
  • 635 posts

Posted 23 October 2012 - 12:37 AM #18

I am using it with V3.0.2 no changes needed

John

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.
3.0.4
Hosting for less.
www.step2stephosting.com

 
  • tom437
  • Senior Member
  • Members
  • Join Date: 10-Jul 10
  • 635 posts

Posted 02 November 2012 - 04:00 AM #19

Is this working for anyone else that are using the V3?
3.0.4
Hosting for less.
www.step2stephosting.com

 
  • tom437
  • Senior Member
  • Members
  • Join Date: 10-Jul 10
  • 635 posts

Posted 06 November 2012 - 01:28 PM #20

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

Anyone
3.0.4
Hosting for less.
www.step2stephosting.com