Hello,
It seems that without items the cart gets disabled(hidden?), only after you add a minimum of 1 items, it get's visible and even if you remove that items for that session remains visible.
Is it a bug? How can i make it visible permanently?
Hello,
It seems that without items the cart gets disabled(hidden?), only after you add a minimum of 1 items, it get's visible and even if you remove that items for that session remains visible.
Is it a bug? How can i make it visible permanently?
Comments
Comment #3
3cwebdev commentedI've added a config option to select whether you want to display the cart icon if the cart is empty. It is off/false by default.
Comment #4
3cwebdev commentedComment #5
neraprojects commentedHello,
Well actually it should've worked, but it doesn't.
Three things happened now:
1. If there is zero items (and it says "0"), when hovering there isn't a message anymore that "The cart is empty"! It's just blank. But, if there are NULL items it says "The cart is empty"!
2. And the block doesn't appear if i'm a "first time in the site" anonymous user. Still i need to buy something to appear.
3. Also the Total is not displayed anymore, and i don't see a css "hidden" element.
Comment #6
neraprojects commentedComment #7
3cwebdev commentedBefore I troubleshoot this further, please confirm the version of the module that you currently have installed and the 'display empty' value that you have configured. Also please clear the site caches and try once more and let me know the results.
EDIT: I was able to setup the module in a test environment and confirm the issues you reported. Please try the new DEV version and let me know if all issues have been resolved.
Comment #9
3cwebdev commentedComment #10
neraprojects commentedI activated "Show when cart is empty" and i got this error:
Fatal error: Unsupported operand types in "(root)/includes/theme.inc" on line 1088
EDIT: Weird fact, i don't get the error if i'm logged with the admin user. And the message "cart is empty" still not there.
Comment #11
3cwebdev commentedI'm not seeing any errors, not even in the watchdog logs. I also disabled, uninstalled then re-enabled the module so I'd get a fresh start and it still works perfectly for me. Please try reinstalling the module yourself and also clearing the caches just in case then let me know if you still have any issues. If you do, please rovide any further info that may help in troubleshooting.
Comment #12
neraprojects commentedHi,
I did like 4-5 tries like this:
1. On "https://simplytest.me" i got this error:
Fatal error: Unsupported operand types in /home/d0y4v/www/includes/theme.inc on line 1088
The block was in the header nothing else was installed except popcart.
2. Aquaia dev desktop, Commerce Kickstart install, no shop content, no other modules, and same error.
Comment #13
3cwebdev commentedThank you for the information. Although I could not reproduce the issue on my setup, I was able to find one potential cause. Please try the newest DEV snapshot and let me know if you still see the issue. If not, please close the issue.
Comment #14
neraprojects commentedHello,
Yes the bug visibility issue is fixed.
Great job.
Thank you.
Comment #15
3cwebdev commented