cancel
Showing results for 
Search instead for 
Did you mean: 

We can't add this item to your shopping cart right now.

SOLVED

We can't add this item to your shopping cart right now.

Hi

 

When I add a product with Customizable Options to the cart I get a message 'We can't add this item to your shopping cart right now.'. However the product is added to the cart and this message does not appear when adding a product without any Customizable Options.

 

Example

Link to product with message (with Customizable Options)
https://customprint4u.co.uk/milton-st-john-s-kids-hoodie.html 
Link to product that doesn't display message (without Customizable Options)
https://customprint4u.co.uk/test.html

 

Any help would be much appreciated.

Magento ver. 2.4.6-p1

 

Kind Regards
Paul

1 ACCEPTED SOLUTION

Accepted Solutions

Re: We can't add this item to your shopping cart right now.

That's a generic message that is displayed on the frontend, you should see some sort of exception in your logs that happens when you add that item to the cart.

Founder at https://agency418.com

View solution in original post

3 REPLIES 3

Re: We can't add this item to your shopping cart right now.

That's a generic message that is displayed on the frontend, you should see some sort of exception in your logs that happens when you add that item to the cart.

Founder at https://agency418.com

Re: We can't add this item to your shopping cart right now.

Thank you for your help @toniagency82ed . I've had a look in the exception logs and it's an extension that's causing the issue. I've disabled the extension and it has fixed the issue.

 

Thanks Again

Paul

Re: We can't add this item to your shopping cart right now.

Hello @PaulK 

If you're encountering the error message "We can't add this item to your shopping cart right now." when adding a product with Customizable Options to the cart in your Magento 2 store, but the product is still added to the cart, it suggests that there might be an issue with the configuration or functionality related to the customizable options. Here are some steps you can take to troubleshoot and resolve this issue:

 

Check Error Logs: Start by checking the error logs in your Magento installation. Look for any specific error messages or stack traces that might provide insight into what's causing the issue. You can find error logs in the var/log directory of your Magento installation.

 

Magento Configuration: Review the configuration settings related to customizable options in your Magento Admin Panel. Make sure that all settings are configured correctly and there are no conflicts or inconsistencies.

 

Customizable Options Setup: Double-check the setup of customizable options for the product in question. Ensure that all required options are properly configured and there are no conflicts with other product attributes or settings.

 

JavaScript Errors: Use your browser's developer tools to check for any JavaScript errors that might be occurring when adding a product with customizable options to the cart. JavaScript errors can sometimes interfere with the functionality of product addition processes.

 

Server Configuration: Ensure that your server meets the minimum requirements for running Magento and that there are no server-side issues affecting the functionality of your store, such as insufficient resources or misconfigurations.

 

Magento Cache and Indexing: Clear the Magento cache and reindex your data to ensure that any changes or updates are properly reflected in your store's frontend.

 

Test in Different Environments: Test the product addition process with customizable options in different environments, such as a local development environment or a staging server, to see if the issue persists across different setups.

 

By systematically investigating these potential causes and implementing appropriate solutions, you should be able to diagnose and resolve the issue with the error message appearing when adding a product with Customizable Options to the cart in your Magento 2 store.

If you have any questions, feel free to contact us.