Guest Posted March 22, 2003 Share Posted March 22, 2003 This will show the shipping options and costs in the cart. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2003 Share Posted March 22, 2003 Where is it? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2003 Share Posted March 22, 2003 I always create the forum topic first, so that i can put the url to the topic into the install file... here it is: http://www.oscommerce.com/community/contributions,1094 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 22, 2003 Share Posted March 22, 2003 sounds interesting - will take a look at it - thank you :wink: Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2003 Share Posted March 23, 2003 Ship 2 Pay v1.1 available for download.... Little update that corrects the display of the shipping options Upgrade instructions in the install.txt Quote Link to comment Share on other sites More sharing options...
koko01 Posted March 23, 2003 Share Posted March 23, 2003 Hi, I was looking for such a contribution for a long time. Well I tried it on my november 2.2 snapshot with no success It simply showed no options. Any ideas? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2003 Share Posted March 23, 2003 I have MS1 ... Can you send me your files: /catalog/includes/classes/order.php /catalog/includes/classes/shipping.php /catalog/includes/classes/shopping_cart.php I can have a look at them, but I assume they don't work the same... Maybe one of the OSC-GURUS (aka Believers) can answer this question. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2003 Share Posted March 23, 2003 It should normally already set the country.... if (!tep_session_is_registered('customer_id')) { $order->delivery['country']['id']=STORE_COUNTRY; } Isn't this enough? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2003 Share Posted March 23, 2003 Are you working with MS1? What is the value of STORE_COUNTRY ?? There's even a second piece of code: if (!tep_session_is_registered('customer_id')) { $sendto = STORE_COUNTRY; }else{ $sendto = $customer_default_address_id; } In my case it seems to work ok .... You are sure the country is set in the admin? Quote Link to comment Share on other sites More sharing options...
koko01 Posted March 23, 2003 Share Posted March 23, 2003 Where do I send you the files to? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2003 Share Posted March 23, 2003 send to the email button that you find under my postings... Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2003 Share Posted March 23, 2003 What is the shipping method that isn't working? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2003 Share Posted March 23, 2003 Version 1.2 now posted... Zone rates now working.... :oops: sorry for not checking zone rates... Please inform me if certain shipping modules are not working.... upgrade instructions in the install.txt Quote Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 In case it's not working please post the following info: * OSC version * Shipping modules activated in the admin * output of this piece of code: (put it just before <!-- shipping cost --> in the /catalog/shopping_cart.php file) <?php echo '<b> debug start </b><br>'. 'Quotes size='.sizeof($quotes).'<br>'. 'logged in = '.tep_session_is_registered('customer_id').'<br>'. 'cart contents='.$cart->count_contents().'<br>'. 'cart content type='.$cart->get_content_type().'<br>'. 'cart weight='.$cart->show_weight().'<br>'. 'order country id='.$order->delivery['country']['id'].'<br>'. 'order iso code 2='.$order->delivery['country']['iso_code_2'].'<br>'. 'order zone id='.$order->delivery['zone_id'].'<br>'. 'cust default address='.$customer_default_address_id.'<br>'. '<b> debug end </b><br>'; ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 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. Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 24, 2003 Share Posted March 24, 2003 I'd love to see a working model of this contribution. Please? Quote ------------------------------------------------------------------------------------------------------------------------- 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. Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 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 Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 24, 2003 Share Posted March 24, 2003 OK, so how does it calculate shipping for USPS or UPS without a zip code? Quote ------------------------------------------------------------------------------------------------------------------------- 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. Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 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. Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 24, 2003 Share Posted March 24, 2003 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. Quote ------------------------------------------------------------------------------------------------------------------------- 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. Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 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 + ... Quote Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 24, 2003 Share Posted March 24, 2003 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? Quote ------------------------------------------------------------------------------------------------------------------------- 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. Link to comment Share on other sites More sharing options...
mattice Posted March 24, 2003 Share Posted March 24, 2003 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 Quote "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
wizardsandwars Posted March 24, 2003 Share Posted March 24, 2003 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? Quote ------------------------------------------------------------------------------------------------------------------------- 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. Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2003 Share Posted March 24, 2003 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.