"The cart is empty" in email receipt
I just noticed that the email receipt generated displays the above text, as seen in the picture.
Never noticed it before
The text is generated by line 231 on wa_receipt.php, but I'm guessing it should be hidden
![](/forums/attachments/178395/cache/var/www/vhosts/webassist.com/user_uploads/forums/attachments/178395/proportion/receipt_w106_h100/receipt_11170737.jpg)
I just noticed that the email receipt generated displays the above text, as seen in the picture.
Never noticed it before
The text is generated by line 231 on wa_receipt.php, but I'm guessing it should be hidden
the table that the cart is empty message is in should have a style tag to it:
style="<?php echo(!$CartName->IsEmpty()?'display:none;':''); ?>"
so that it will be set to display none if the cart is not empty
Hi Jason,
please find attached, a copy of the page, the tag is as you described, but text is displayed
what email client are you using?
look like the display property doesn't work correctly in Outlook and Gmail:
https://www.campaignmonitor.com/css/
aha ! _ I use outlook and gmail !
As a workaround, should i set the class of the text to be the same colour as the background ?
remove the cart is empty table from the receipt, I Have logged a bug for this to be corrected in the next update.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.