Jump to content

Auto select shipping method in calculator Rate Topic   - - - - -

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 1,513 posts

Posted 03 December 2011 - 06:55 PM #1

Is it possible to have cs-cart update the cart costs automatically, without the customer selecting a shipping method after he/she clicks Get Rates?

I think a lot of us only have one shipping carrier / method and this would make it much easier for the customer (who always miss the select button).

Or should we make it so it automatically selects the cheapest one?
When life hands you lemons, bring on the Tequila baby!
Live with 1 store at 2.14 and 2 stores at 2.24

 
  • tbirnseth
  • Senior Member
  • Members
  • Join Date: 08-Nov 08
  • 5,277 posts

Posted 03 December 2011 - 08:25 PM #2

Is it possible? Sure... But is this really a change worth making? I'd guess your assumption about only one shipping method is probably not true. But you could make the case that if there is only one method for that location that it should apply the amount to the cart total automatically.

It would take one more ajax request with the $cart['recalculate'] set to true and the shipping variable set to the shipping_id of the method.
EZ Merchant Solutions

Authorized Reseller - Cart licenses: $305 (lowest reseller price)
Custom B2B Development, Consulting and Special Projects (get a quote).
Commercial addons to meet your business and operations needs.

http://www.ez-ms.com

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 1,513 posts

Posted 10 December 2011 - 02:46 PM #3

Actually, in the EU most countries have 1 or maybe 2 shipping companies that are interesting. I almost never get to choose which shipping company I'd like the webshop to use.

We use DHL, with whom we have a contract with a minimum order amount per year and therefore very good prices. So we only use them, because there is simply no competition.

Anyway, thanks for the tip. I'm gonna play around with a bit to see if I can get it to work :)
When life hands you lemons, bring on the Tequila baby!
Live with 1 store at 2.14 and 2 stores at 2.24

 
  • vinic
  • Junior Member
  • Members
  • Join Date: 21-Nov 07
  • 57 posts

Posted 19 December 2011 - 02:27 PM #4

Agree with flow, we are also using only one shipping method and it's should work in the same way.

Infect if you have only one shipping method then there is no need of clicking "Get Rates" button (if you are not fetching live rates), as customer select country simply show them shipping charges and add it to card. Why to click one more time to get shipping rates?

We are using fixed shipping charges of DHL on basis of weight slots we don;t fetch prices from shipping companies. Tried placing cm-ajax and jQueryAjax Request code on selection of country drop down box. But doesn't worked :(
All things in life are created twice, 1st when we dream it and second when we convert our dreams into reality.

 

Posted 20 December 2011 - 07:48 PM #5

Hello,
How can i display shipping calculator on my cs-cart pages? so the customer can get rates before he/she purchase anything?

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 1,513 posts

Posted 21 December 2011 - 10:49 AM #6

Go to settings - general - select Estimate shipping cost on cart pag
Have users go to cart page first, then it will show there.
When life hands you lemons, bring on the Tequila baby!
Live with 1 store at 2.14 and 2 stores at 2.24

 
  • Darius
  • Senior Member
  • Members
  • Join Date: 20-Apr 08
  • 1,576 posts

Posted 21 December 2011 - 12:12 PM #7

View PostFlow, on 10 December 2011 - 02:46 PM, said:

Actually, in the EU most countries have 1 or maybe 2 shipping companies that are interesting. I almost never get to choose which shipping company I'd like the webshop to use.

We use DHL, with whom we have a contract with a minimum order amount per year and therefore very good prices. So we only use them, because there is simply no competition.

Anyway, thanks for the tip. I'm gonna play around with a bit to see if I can get it to work Posted Image

This is because you are from Germany. In Germany DHL = post office.

I am using 2 carriers and looking for 3rd now...


How do I setup cs-cart so if order is above certain amount customer would not be allowed to use cheapest shipping method?
2.1.4 & 3x

 

Posted 22 December 2011 - 04:18 AM #8

Hello guys,

How can i show a stand alone calculator, so allow the users to calculate their shipping cost based on a weight they put on that calculator?
And how can i allow the user to input the weight of the product on the product page, just like when he or she type in the price of the product?

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 1,513 posts

Posted 22 December 2011 - 06:29 PM #9

View PostDarius, on 21 December 2011 - 12:12 PM, said:

This is because you are from Germany. In Germany DHL = post office.

I am using 2 carriers and looking for 3rd now...


How do I setup cs-cart so if order is above certain amount customer would not be allowed to use cheapest shipping method?

That's what I said right? Most EU countries only have 1 or 2 carriers that matter so we usually don't need the choice. I mean, I could offer UPS and DHL... UPS being more then 3 times more expensive most of the times. So I don't see the need to offer UPS for most locations.
When life hands you lemons, bring on the Tequila baby!
Live with 1 store at 2.14 and 2 stores at 2.24

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 1,513 posts

Posted 15 January 2012 - 08:40 AM #10

Got this working now and it stopped all questions and complaints from users :)

Feel free to contact me for the file.
When life hands you lemons, bring on the Tequila baby!
Live with 1 store at 2.14 and 2 stores at 2.24

 
  • BarryH
  • Senior Member
  • Members
  • Join Date: 03-Sep 07
  • 1,232 posts

Posted 15 January 2012 - 12:14 PM #11

View Postdawood.hana, on 20 December 2011 - 07:48 PM, said:

Hello,
How can i display shipping calculator on my cs-cart pages? so the customer can get rates before he/she purchase anything?

You can create a block with the shipping estimator in and have it display on product pages. This way the customer can get the shipping cist without going to the cart.
BarryH
CS-Cart v2.2.5
PHP 5.3.13
Linux
Apache
MySql 5.0.95
UK User

 
  • tbirnseth
  • Senior Member
  • Members
  • Join Date: 08-Nov 08
  • 5,277 posts

Posted 15 January 2012 - 08:11 PM #12

But do note that it estimates shipping on the contents of the cart. Most previous inquiries were looking for ways to estimate shipping without adding the items to the cart.
EZ Merchant Solutions

Authorized Reseller - Cart licenses: $305 (lowest reseller price)
Custom B2B Development, Consulting and Special Projects (get a quote).
Commercial addons to meet your business and operations needs.

http://www.ez-ms.com

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 1,513 posts

Posted 16 January 2012 - 11:35 AM #13

Wow, I got many requests for this so I decided to put the file online... this works on 2.24 for sure but should work on more versions. DO backup your file before replacing.

unzip this file http://flowing-webde..._estimation.zip in skins/[CUSTOMER_ACTIVE_SKIN]/customer/views/checkout/components
When life hands you lemons, bring on the Tequila baby!
Live with 1 store at 2.14 and 2 stores at 2.24

 
  • 590
  • Junior Member
  • Members
  • Join Date: 12-Jan 10
  • 254 posts

Posted 03 March 2012 - 09:30 PM #14

Quote

The link doesn't work, it is possible once again?
CS Cart - 2.0.15
CS Cart - 2.2.4

 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 1,513 posts

Posted 04 March 2012 - 08:40 AM #15

Just checkek, link does work.. just click it, don't copy and paste, the forum shortens it.
When life hands you lemons, bring on the Tequila baby!
Live with 1 store at 2.14 and 2 stores at 2.24

 
  • WebWatch
  • Advanced Member
  • Members
  • Join Date: 27-Aug 11
  • 40 posts

Posted 12 March 2012 - 12:41 PM #16

Than you Flow,

Will try this on my site later on.
Thanks for sharing.
CS-Cart Pro 2.2.5

 
  • Mishal
  • Newbie
  • Members
  • Join Date: 16-Nov 11
  • 6 posts

Posted 14 April 2012 - 12:54 AM #17

Flow you are AWESOME.
Thanks

 
  • vidan
  • Senior Member
  • Members
  • Join Date: 11-Jan 10
  • 359 posts

Posted 14 April 2012 - 04:10 AM #18

flow thanks for this, so awesome