Ok, doesn't seem to be working for me. I also found another possible glitch in doing so...
Firstly, my settings in the shipping options page...
Include handling cost? NO
No shipping tax class
Using my own userid I used successfully with ZenCart for the USPS server
Production server
Origin country USA
Postal code 48180
All machinable TRUE (still don't understand this one though)
Debug EMAIL
Display weight YES
Display transit time YES
Domestic methods...
Priority mail (only one checked)
Default demestic method PRIORITY MAIL
International methods...
Express Mail International
Priority Mail International
First Class Mail International
Default International method PRIORITY MAIL INTERNATIONAL
Now, I add an item with a weight of 4lbs as set in the product settings, and go to checkout. Input shipping address. Next screen, does NOT allow me to select shipping address from the "use saved address" dropdown. It's not populating anything, so I have to re-enter all the shipping info into the billing information.
Press continue, then choose money order as payment method. Continue...Now I have a shipping charge of $0.00 with "selected USPS service" showing "parcel post (4-7 days)." I never got to choose a shipping method, and there is no shipping charge.
Did I miss anything?
Initiated by Bugger (Original Entry) - Comments Here Please.
Please enter your server specs in your user profile! 😢
Ok, it seems to be working if I select more than one shipping option. I selected also express mail, and now I'm showing the options, and the price is populating, but the billing address still won't populate.
Then again, upon further investigation, maybe it was because I re-activated the shipping weight option. Whenever I de-activate that, it goes back to $0 shipping. Maybe that's where the problem lies.
Please enter your server specs in your user profile! 😢
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
I've tried the single USPS option and it works okay here.
Which shipping weight option? If you mean the product weight shipping method, I also tested with it activated and de-activated.
If you complete your details in the "Info" link for users, the address details are retained and you don't need to re-enter details each time, or do you mean a guest user details aren't being carried through?
Anyway, I've now fixed the issue with guest order shipping address details not carrying through.
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ok, sorry it took so long to get back on this. Terribly busy with Halloween just around the corner!
Anyway, still using the settings as described above with the exception of having also checked "Express Mail" as an option, so there are now 2 shipping options when using USPS, USPS is the only shipping method activated. When I checkout, I'm still not being presented with any shipping options, and the shipping price is $0.00. I've even went so far as to "Submit Order" and it submits it with $0.00 for shipping, and shows for shipping, "Selected USPS Service: Parcel Post (4 - 7 days)" and I don't even have parcel post turned on!
Also, for the record, I have updated the database using the upgrade option with both upgrades. However, I'm sure I wouldn't have even gotten this far if I hadn't without running into a db error eh?
The billing address info populating with the same shipping info works now. That problem is gone, and is in fact, even better now as it auto-populates which is great, but still can't use the USPS shipping. If you need to, you can login using the test user profile to check it out.
testuser
password
And also, when I was just changing the password in DFLY for testuser, I got this error when submitting the change...
CMS Warning line 75: On /admin.php?op=users&id=7 While executing query "INSERT INTO cms_cart_users (user_id, fname, lname, username, email, address1, address2, city, state, country, postcode, dayPhone, evePhone, myCurr) VALUES ('', '', '', '', '', '', '', '', '', '', '', '', '', '0')" the following error occured: Duplicate entry '0' for key 1 In: /home/smithsgr/public_html/modules/Storez/includes/functions.php on line: 118
Not sure if it means anything to you, but it's obviously storez related?
Please enter your server specs in your user profile! 😢
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
Now when I do activate another shipping option, then I am presented with the options for USPS upon checkout, and I can select one and use it just fine. I just followed your advice and turned on store pickup, and I can now select the USPS priority mail option.
It just seems to happen when USPS is the only activated shipping method for some reason.
Found it - approx line 200 of modules/Storez/shipping/shipping.usps.php function storez_shipping_usps() {
global $order, $db, $module_name;
$this->shipping_name = MODULE_SHIPPING_USPS_TEXT_TITLE;
$this->title = MODULE_SHIPPING_USPS_TEXT_TITLE;
$this->description = MODULE_SHIPPING_USPS_TEXT_DESCRIPTION;
replace with function storez_shipping_usps() {
global $order, $db, $module_name;
$this->shipping_name = MODULE_SHIPPING_USPS_TEXT_TITLE;
$this->title = MODULE_SHIPPING_USPS_TEXT_TITLE;
$this->description = MODULE_SHIPPING_USPS_TEXT_DESCRIPTION;
$this->checkout_options = 1;
Don't know why I overlooked that extra line - it's purpose is to tell checkout that this shipping method does have options.
Thanks for your patience
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
So I gather, that the only line I needed to really add was
$this->checkout_options = 1;
Cuz once I did that, it seems to work now. Thanx for being on top of things. I do believe this cart now supports every feature I need!! My search may well be over now! Thanx again.