superkingkong Posted July 6, 2008 Posted July 6, 2008 hi guys, for some reason, if no shipping methods are available for that order, customer can just continue to payment page and checkout the order. anyway to prevent this? like on payment page, if you don't select any any payment methods, you are not allowed to proceed to checkout_confirmation. i don't want to call customer up and tell them, oh i don't ship to your address, that's why no shipping method available for your order and i will refund you. any solutions will be much appreciated.
satish Posted July 6, 2008 Posted July 6, 2008 add wt to your product so its not considered as virtual. Also in shipping policy define where You do not ship. Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
gregp Posted July 31, 2008 Posted July 31, 2008 Hey, I've got the same issue. Of the four shipping methods, all are set to Australian Zones yet if I use a non-Australian address it provides no options and allows a $0 shipping cost checkout. What is 'wt' referred to above that I'm supposed to add to my product so it's not considered virtual? I have download disabled.
gregp Posted July 31, 2008 Posted July 31, 2008 Hey, I've got the same issue. Of the four shipping methods, all are set to Australian Zones yet if I use a non-Australian address it provides no options and allows a $0 shipping cost checkout. What is 'wt' referred to above that I'm supposed to add to my product so it's not considered virtual? I have download disabled. PS If 'wt' is 'weight' then all my products already have a weight assigned. If there are no shipping methods available then surely it should block checkout?
superkingkong Posted July 31, 2008 Author Posted July 31, 2008 i'm not sure of the normal way to block this, but i've figured out a way to "block" checkout if no shipping method is selected NOTE: I don't have VIRTUAL PRODUCTS, so it's safe for me to apply/block this. If you have virtual products, you can't apply this. Virtual products doesn't need shipping and customers will not be able to checkout if they purchase virtual products from your store because they don't need to select shipping method. On the file CHECKOUT_SHIPPING.PHP: (i'm not sure what line because i'm using normal windows notepad) look for ... $shipping = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); remark the "tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));" Eg: $shipping = false; // UNREMARK if want to proceed to checkout_payment without shipping module enabled // tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); ... basically, by default, if no shipping method is selected, users are still being directed to the next page, checkout_payment.php. so, i block it, no shipping, no forward :) to double check, there are 3 "tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));" lines ... you only have to remark the 3rd one. let me know if you need further info :) cheers, leo
gregp Posted July 31, 2008 Posted July 31, 2008 Cool thanks, that blocks it so I'm out of trouble for now. But I think I'll try to sort a nice way with an error message or something so the customer knows what's happened. Cheers for your help!
gregp Posted July 31, 2008 Posted July 31, 2008 What would be really nice (if I understood enough about how it all worked :() is, it obviously sorts out what shipping methods are available, and if it comes back with none then display a message instead. Sounds easy... just have to work out how :unsure:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.