Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Warnings At Every Login - The Product Xxx Has Options Or Option Variants That Are Not Available Anymore, So It Was Removed From Cart Rate Topic   - - - - -

 
  • grafis
  • Junior Member
  • Members
  • Join Date: 12-Jan 11
  • 150 posts

Posted 23 March 2019 - 01:50 PM #1

I get 4-5 warnings at every login with a test account and a variety or warnings whenever anyone logs in as administrator or launches the Theme Editor - none of the products are in either accounts Cart and none of the products have Options. Any ideas what drives this or how to fix?

"Notice The product xxxxx has options or option variants that are not available anymore, so it was removed from cart"

CS-Cart 4.7.1


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4482 posts

Posted 23 March 2019 - 02:22 PM #2

I get this now and then, usually after i create and order in the back end, and add an option or remove an option from the product I have added to the quote. Try and clear your cache or rename the cache folder

 

John

 

or 

https://forum.cs-car...on-for-product/


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 

Posted 23 March 2019 - 02:23 PM #3

 

I get 4-5 warnings at every login with a test account and a variety or warnings whenever anyone logs in as administrator or launches the Theme Editor - none of the products are in either accounts Cart and none of the products have Options. Any ideas what drives this or how to fix?

"Notice The product xxxxx has options or option variants that are not available anymore, so it was removed from cart"

 

You need to set in your config.local.php 

error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors', 0);

Only helpful and unique addons https://store.retailfactory.ru


 
  • grafis
  • Junior Member
  • Members
  • Join Date: 12-Jan 11
  • 150 posts

Posted 23 March 2019 - 02:57 PM #4

I get this now and then, usually after i create and order in the back end, and add an option or remove an option from the product I have added to the quote. Try and clear your cache or rename the cache folder

 

John

 

or 

https://forum.cs-car...on-for-product/

 

Thanks - tried deleting all cache from /Var - no change.


CS-Cart 4.7.1


 
  • grafis
  • Junior Member
  • Members
  • Join Date: 12-Jan 11
  • 150 posts

Posted 23 March 2019 - 03:21 PM #5

 

You need to set in your config.local.php 

error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors', 0);

I found the second line from above in two places, setting it to Zero under the Enable Dev mode heading Worked, not even sure what that heading means! The other location is under //Developer Configuration File and has both the lines above, I turn that one to my IP when testing. So off for now but not sure what I've done! (enable Dev mode - IF Product Status is not empty, ummm....???). Thanks, I think!

// Enable DEV mode if Product status is not empty (like Beta1, dev, etc.)
if (PRODUCT_STATUS != '' && !defined('DEVELOPMENT')) {
    ini_set('display_errors', '0');

CS-Cart 4.7.1


 
  • grafis
  • Junior Member
  • Members
  • Join Date: 12-Jan 11
  • 150 posts

Posted 24 March 2019 - 01:10 PM #6

 

I found the second line from above in two places, setting it to Zero under the Enable Dev mode heading Worked, not even sure what that heading means! The other location is under //Developer Configuration File and has both the lines above, I turn that one to my IP when testing. So off for now but not sure what I've done! (enable Dev mode - IF Product Status is not empty, ummm....???). Thanks, I think!

// Enable DEV mode if Product status is not empty (like Beta1, dev, etc.)
if (PRODUCT_STATUS != '' && !defined('DEVELOPMENT')) {
    ini_set('display_errors', '0');

 

The errors are back... I've disabled everything error/dev related I can find. 

Happens for customer non admin login and for admin login. Stumped...


CS-Cart 4.7.1


 

Posted 24 March 2019 - 06:45 PM #7

The errors are back... I've disabled everything error/dev related I can find. 

Happens for customer non admin login and for admin login. Stumped...

 

This error may happen only when product in cart has disabled/removed option.

 

Unfortunately this notification cannot be removed without code modification.


Only helpful and unique addons https://store.retailfactory.ru


 
  • grafis
  • Junior Member
  • Members
  • Join Date: 12-Jan 11
  • 150 posts

Posted 24 March 2019 - 07:32 PM #8

This error may happen only when product in cart has disabled/removed option.

 

Unfortunately this notification cannot be removed without code modification.

 

 

Thanks but when I login as admin the items listed in my errors are not disabled and have not been removed and most do not even have options.  Logged in as a user 2 of the 3 errors are products with options and one is not, all are enabled and active. 


CS-Cart 4.7.1


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4482 posts

Posted 25 March 2019 - 05:40 PM #9

Have a check that you dont have any products in your basket in the "storefront"


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • grafis
  • Junior Member
  • Members
  • Join Date: 12-Jan 11
  • 150 posts

Posted 02 April 2019 - 12:34 AM #10

Have a check that you dont have any products in your basket in the "storefront"

 

Thanks - and yes confirmed there's nothing in the Cart in the Storefront.

Per your note above I wasn't aware you create and order via the backend! 


CS-Cart 4.7.1