Ensure sku placeholder exists for variable products Closes #1734.
Check attribute values are posted.
Only empty the cart for logged in users.
Correct string to times and ranges. Closes #3540