Re: Assign maximum order weight for UPS
Thanks Linda --
I tested using Classic template on a less productive site with similar address book files in its custom template. On that one, adding a new address in My Account with custom template gave
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/jjh/public_html/includes/languages/english/hd/address_book_process.php:75) in /home/jjh/public_html/includes/functions/functions_general.php on line 44
. I then switched to Classic template, hit the back button on the catalog page and the new address was entered successfully. No data in the address book State field, but entry_zone_id and entry_country_id are correct.
I'll take another look at my template's account files versus template_default in Beyond Compare right now.
Quote:
Originally Posted by
Ajeh
The entry_state is only needed sometimes ... not always ...
The problem is the edit address is not listening to the setting so it is not selecting ...
This means either missing files or old files or template issue ...
Does a switch to Classic fix the edit?
Re: Assign maximum order weight for UPS
After conforming all of those HardwareDog.com custom template files to match the template_default code, I then tried the address book again -- and again I got
Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/jjh/public_html/includes/languages/english/hd/address_book_process.php:75) in /home/jjh/public_html/includes/functions/functions_general.php on line 44
-- and when backed up one page, the new address was entered. Apparently the error I got was not affected by the changes I made, and all it took to get the address into the database was backing up.
So I tried it again, a little different this time -- switched to Classic template, THEN went to address book and added a new address. Two things worth noting:
- The ghost state input noted earlier wasn't there, unlike my custom template without the modified account files.
- The address addition went through just fine.
Knowing this, I'm looking at the modules now to see which file(s) overriding the default are blowing my address book.
Re: Assign maximum order weight for UPS
Edit the language file and remove all the space(s) and blank line(s) at the end of the file that are immediately to the right of the php closing tag:
?>
Looks like the file is also double spaced or you have a heck of a lot of text in there ... mine is 38 lines long ... :cool:
Re: Assign maximum order weight for UPS
Thanks! That fixed the language file problem. And I finally figured out the reason for the ghost input in the address book forms. My custom stylesheet was missing
Code:
.hiddenField {
display: none;
}
The modifications that were breaking my states weren't necessary at all. As soon as I added the hiddenField style, the ghost input stopped haunting me.
Now back to the screwy checkout issue with denied discount coupons negating my shipping fees. ...
Quote:
Originally Posted by
Ajeh
Edit the language file and remove all the space(s) and blank line(s) at the end of the file that are immediately to the right of the php closing tag:
?>
Looks like the file is also double spaced or you have a heck of a lot of text in there ... mine is 38 lines long ... :cool:
Re: Assign maximum order weight for UPS
Still chasing down my bug in which checkout fails to remove discount coupon when allowed products are removed from cart after redemption code is accepted.
The bug manifests regardless whether allowed and denied products are different product types -- I tested for this just now.
It only happens when the shipping fee > 0. When free options shipping is selected, the discount is removed. Switch back to paid shipping, and the discount returns.
See for yourselves at ShedKitStore.com. I created a new coupon with redemption code EST5OFF ... it's for $5 off Estate shed kit. Add Estate to cart, then add a different shed kit to cart. (All shed kits are the same product type.) Go to checkout, redeem the EST5OFF code, then return to the cart and remove the Estate. Go back to checkout, select home delivery for $125, and proceed to billing page. Note the $5 discount is still applied in the order total, even though Top category is denied in the coupon's restrictions and only the Estate is allowed.
If anyone needs to create a new user account, please include the word TEST in the name.
Sean
Re: Assign maximum order weight for UPS
As I stated before ... we are looking into this as this appears to be our bug not necessarily your's ...
Re: Assign maximum order weight for UPS
Check your current settings before trying this ...
What happens if on the Modules ... Order Totals ... Discount Coupons ot_coupon ... if you edit that and set everything to:
Quote:
This module is installed
true
Sort Order
280
Include Shipping
false
Include Tax
false
Re-calculate Tax
Standard
Tax Class
--none--
Re: Assign maximum order weight for UPS
Fascinating -- and a little troubling.
- I changed ShedKitStore ot_coupon as suggested, and that fixed it! :happy:
- Further, I changed HardwareDog ot_coupon settings, which originally had Include Shipping set to false. After I changed it to true, I finally reproduced the problem in another Zen-Cart.
I guess this means ot_coupon is a bit vulnerable in that customers who do a post-redemption cart revision can apply coupons toward shipping denied products, contrary to store owners' intent. :shocking:
THANK YOU, Linda, for greatly accelerating the solution to my problem. In the process, you have also discovered information that may help others prevent shipping mishaps due to an obscure Achilles' heel.
Quote:
Originally Posted by
Ajeh
Check your current settings before trying this ...
What happens if on the Modules ... Order Totals ... Discount Coupons ot_coupon ... if you edit that and set everything to:
Re: Assign maximum order weight for UPS
NOTE: a Discount Coupon is for 1 of the following 3 things and you cannot combine them together:
1 Discount Amount
2 Discount Percentage
3 Free Shipping
You cannot combine Free Shipping with the discounts at this time ...
Re: Assign maximum order weight for UPS
Just pointing out that any customer can cheat their way out of paying for shipping on item(s) whose discount (amount) coupon status is Deny -- providing the ot_coupon Include Shipping = true (in Modules/Order Total).
Or are mine the only sites with this vulnerability?
Quote:
Originally Posted by
Ajeh
NOTE: a Discount Coupon is for 1 of the following 3 things and you cannot combine them together:
1 Discount Amount
2 Discount Percentage
3 Free Shipping
You cannot combine Free Shipping with the discounts at this time ...