Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

[Contribution] Ship In Cart


611 replies to this topic

#21 ednique

  • Community Member
  • 111 posts
  • Real Name:Edwin Bekaert
  • Location:Belgium

Posted 24 March 2003, 10:35

Hi burt.

My next contribution will be "order totals in cart"
At least I will try to do that....

You will get the order totals
* Sub-Total
* shipping cost (cheapest; if more than 1 it should be the the one with the lowest sort order)
* payment cost (cheapest; if more than 1 it should be the the one with the lowest sort order)
* Low order fee
* VAT
* Total

The customer would see immediate the total cost of the items in his basket
+ see the other shipping options

I don't know when it's gonna be finished, so keep an eye on the contributions forum.

#22 wizardsandwars

  • Community Member
  • 4,476 posts
  • Real Name:Chris Bradley

Posted 24 March 2003, 11:39

I'd love to see a working model of this contribution.

Please?
-------------------------------------------------------------------------------------------------------------------------
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

#23 ednique

  • Community Member
  • 111 posts
  • Real Name:Edwin Bekaert
  • Location:Belgium

Posted 24 March 2003, 12:25

Have a look at my test site...

http://test.ednique.be

I've activated a lot of shipping modules... as a demo.... Normally I will have only 2 shipping methods

#24 wizardsandwars

  • Community Member
  • 4,476 posts
  • Real Name:Chris Bradley

Posted 24 March 2003, 12:27

OK, so how does it calculate shipping for USPS or UPS without a zip code?
-------------------------------------------------------------------------------------------------------------------------
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

#25 ednique

  • Community Member
  • 111 posts
  • Real Name:Edwin Bekaert
  • Location:Belgium

Posted 24 March 2003, 12:31

If you are not logged in, it takes the zip code, the zone and the country from the store address fields ...

once logged in, it takes the user's info.

#26 wizardsandwars

  • Community Member
  • 4,476 posts
  • Real Name:Chris Bradley

Posted 24 March 2003, 13:27

Hmmn, interesting.

What would provide ALOT more useful, is to have a text box to enter the zip code, and then a 'calculate' button that will show the rates.

I'm afraid that using the store's zip code to calculate the postage shown just isn't as useful because it will show a lower rate than will be charged during checkout. Even with a visual disclaimer, this could be construed as false advertising.
-------------------------------------------------------------------------------------------------------------------------
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

#27 ednique

  • Community Member
  • 111 posts
  • Real Name:Edwin Bekaert
  • Location:Belgium

Posted 24 March 2003, 13:57

Then you should put your company country and zip into the disclaimer...

Or you can say shipping prizes "starting from":

Or you could hide it if the user isn't logged in...

Anyway....
if that is false advertising, than the sub-total of the cart is also false advertising....
It will certainly be more expensive as it needs
+ shipping charges
+ payment charges
+ VAT
+ ...

#28 wizardsandwars

  • Community Member
  • 4,476 posts
  • Real Name:Chris Bradley

Posted 24 March 2003, 14:14

No, those are additional charges. But when you advertise that one of your charges is one thing, and then change it later is completly different.

It would also be considered false advertising if the the charge for the game in the cart was 14.99 + shipping + vat, but when they got to the checkout, it was 15.99 + shipping + vat.


At VERY least, this would be considered a 'Bait and Switch' technique.

Listen, I'm not trying to argue with you, and I think your got a terrific start to something here. I just don't think it's a good idea to tell your customers shipping is going to be one price, and then they sign up and shipping is more than you told them it would be. Do you seriously not think this would anger ALOT of customers?
-------------------------------------------------------------------------------------------------------------------------
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

#29 burt

  • Community Member
  • 6,764 posts
  • Real Name:G Burton
  • Gender:Male
  • Location:UK/DEVon/NULL -> get it, hardeharhar.

Posted 24 March 2003, 14:18

Quote

Do you seriously not think this would anger ALOT of customers?

No I don't. It's better to give people an *estimated* shipping cost before they create an account - it angers people more to spend time creating an account just to find out the postage cost is too expensive for them to pay...

If you word it right, eg,

Estimated shipping costs: UPS $xxx or Airmail $yyy
<small>Please log in/create an account to tell us your delivery address for an *exact* cost</small>

This can only be helpful to the customer, surely ?

G.

#30 mattice

  • Community Member
  • 2,637 posts
  • Real Name:Matthijs van der Vegte
  • Location:Belgium / Netherlands

Posted 24 March 2003, 14:32

Quote

If you are not logged in, it takes the zip code, the zone and the country from the store address fields ...

once logged in, it takes the user's info.

Did not look at the contrib yet so forgive me if ignorant but...

Couldn't you make a country dropdown that refreshes the page
(and registers the country id in the session, logged in or not so it is accurate on next return)
to display the costs?
You could skip the whole store country id bit and display something like

Shipping Costs: [SELECT YOUR COUNTRY]

Mattice
"Politics is the art of preventing people from taking part in affairs which properly concern them"

#31 wizardsandwars

  • Community Member
  • 4,476 posts
  • Real Name:Chris Bradley

Posted 24 March 2003, 15:21

Mattice,

For US orders, you need the zip code, which is not Country (or even state) dependant. However a small text box asking for a zip code that when given, refreshes as you suggested, would be perfect!

Burt,

While I guess I'll accept that an estimated shipping cost, worded properly, would be better than not knowing the cost of shipping until signing up, I don't understand why anyone would accept this as being enough.

Why only offer an estimate? Why not give them *exactly* what you will charge for shipping?

What would you rather offer, an estimate, or the actual shipping cost?
-------------------------------------------------------------------------------------------------------------------------
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

#32 ednique

  • Community Member
  • 111 posts
  • Real Name:Edwin Bekaert
  • Location:Belgium

Posted 24 March 2003, 15:26

Maybe It won't be a bad idea to add country and zip code...

[country dropdown] [zip code input] [recalculate button]

My website stats tell me how many visitors i've had from the us...
How can I grab that info ? from the http header?

second:
how do i register session vars?
tep_session_register()?

Any idea's?

#33 burt

  • Community Member
  • 6,764 posts
  • Real Name:G Burton
  • Gender:Male
  • Location:UK/DEVon/NULL -> get it, hardeharhar.

Posted 24 March 2003, 15:30

Quote

While I guess I'll accept that an estimated shipping cost, worded properly, would be better than not knowing the cost of shipping until signing up, I don't understand why anyone would accept this as being enough.

Why only offer an estimate? Why not give them *exactly* what you will charge for shipping?

What would you rather offer, an estimate, or the actual shipping cost?

Well, it's better than what we had previously! ie *nothing* about shiping costs until way into the checkout_process... I'm not complaining about it - it's a nice little mod.

#34 mattice

  • Community Member
  • 2,637 posts
  • Real Name:Matthijs van der Vegte
  • Location:Belgium / Netherlands

Posted 24 March 2003, 15:40

Quote

Maybe It won't be a bad idea to add country and zip code...

[country dropdown] [zip code input] [recalculate button]

My website stats tell me how many visitors i've had from the us...
How can I grab that info ? from the http header?

If you look in aplication_top.php you will see how the browser gives the default language. This is an indication of where the visitor is from, but a poor one. But it is an easy start. You can do it with GeoIP stuff or mapping IP's, DNS lookups etc etc but I would not go that route.
People will gladly give their country and zip to see the shipping costs.

Quote

second:
how do i register session vars?
tep_session_register()?

Not all shipping methods require the zip code, things like per item / table rate do not. But you could make the zip box appear depending on the selected shipping mods that might need it.

The idea is you create a form, look at how create_account pulls the countries.
You then use indeed tep_session_register() to register the outcome of the form in the clients session.
Any session varialble is available like $whatever_registered_name.
So you'd do a check for it before registering it again.

ie
 if ($shipquote) {

       // calculate shipping costs based on $shipquote

 }else{

      // show dropdown boxes form that registers the session

}

Mattice
"Politics is the art of preventing people from taking part in affairs which properly concern them"

#35 wizardsandwars

  • Community Member
  • 4,476 posts
  • Real Name:Chris Bradley

Posted 24 March 2003, 15:48

Burt,
I guess it's how you look at it, then.

Obviously, you looked at it and saw functionality that was not there previously, and were happy to see it.

I, on the other hand, while not trying to be ungreatfull, saw this mod, and said, "Wow, that is so close to what we really need!"

Of course I'm happy to see this additional functionality, and sure it is better than nothing, but that doesn't make it perfect. And I'm sure that the author doesn't think that this was a finished product either.
-------------------------------------------------------------------------------------------------------------------------
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

#36 ednique

  • Community Member
  • 111 posts
  • Real Name:Edwin Bekaert
  • Location:Belgium

Posted 24 March 2003, 15:50

Thanks mattice for the session variables info ...
one more question on that subject:
Do i set the value first and than register or the other way around?
$myvar="US"
tep_session_register($myvar)
or
tep_session_register($myvar)
$myvar="US"

Quote

Not all shipping methods require the zip code, things like per item / table rate do not. But you could make the zip box appear depending on the selected shipping mods that might need it.
That's not a good idea, as I would have to update this contribution whenever their's a new shipping method...

#37 wizardsandwars

  • Community Member
  • 4,476 posts
  • Real Name:Chris Bradley

Posted 24 March 2003, 15:51

Also, directed towards Edwin,

I hope that my comments were not taken in a way the made me seem overly critical. I assure you that this was not my intention, and I sincerly apologize if this is the case.

I think that your contribution is wonderful, and my criticism was meant to be constructive. Please let me know if you are not interested in furthering this contribution to include country and zip code, and I will work on it myself.

I appreciate your work, and your contribution.
-------------------------------------------------------------------------------------------------------------------------
NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.
If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

#38 mattice

  • Community Member
  • 2,637 posts
  • Real Name:Matthijs van der Vegte
  • Location:Belgium / Netherlands

Posted 24 March 2003, 16:03

Quote

$myvar="US"
tep_session_register($myvar)
the first one, look how it is done in application_top.php

Quote

That's not a good idea, as I would have to update this contribution whenever their's a new shipping method...

True, but you could make it optional in your mod. SHOW_ZIP = 1, let the shop keeper decide.
"Politics is the art of preventing people from taking part in affairs which properly concern them"

#39 mattice

  • Community Member
  • 2,637 posts
  • Real Name:Matthijs van der Vegte
  • Location:Belgium / Netherlands

Posted 24 March 2003, 16:04

Quote

I think that your contribution is wonderful, and my criticism was meant to be constructive. Please let me know if you are not interested in furthering this contribution to include country and zip code, and I will work on it myself.

Why not work together?
"Politics is the art of preventing people from taking part in affairs which properly concern them"

#40 ednique

  • Community Member
  • 111 posts
  • Real Name:Edwin Bekaert
  • Location:Belgium

Posted 24 March 2003, 16:07

Chris,

I thank you for your comments...

As for me, I always tought that the people visiting my store would be from within the same country...
And as in Belgium all shipping costs are the same troughout the country, I just took my companies country....

I just put myself in place of a us "customer to be" visiting my shop and seeing the cheap shipping costs...

He would tell all his friends about it, and they will all be very happy...
Untill they actually register....
Suddenly a wave of frustrated emails would come my way...

My goal was to show the shipping cost within the basket, so that the client already sees the shipping cost before registering.

I succeeded in doing that, except 1 flaw...
I now need to show my customer the correct shipping price.