Issues with the cart page – Sometimes it doesn’t add the product

This topic has 10 replies, 3 voices, and was last updated 1 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: Luis
    Luis
    Participant
    October 7, 2024 at 12:40

    First of all, thank you for the spectacular theme you created.

    I already purchased your theme back in January 2023 and never had any problems with it, however, since August I have experienced some problems with the shopping cart. I’m using the Advanced Product Fields Pro for WooCommerce plugin because our products have more than one option to choose from. Every time a customer tries to buy a product from the store and puts it in the cart, most of the time only the name of the product is left and the correct product option and its price do not appear. I found that the problem occurs more frequently in some browsers than others. This type of situation never happened before. I contacted plugin support and I was told that the problem came from the theme’s custom cart. I would like your help so that this type of situation does not happen again in future updates.

    Thank you!

    Files is visible for topic creator and
    support staff only.
    9 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    October 8, 2024 at 05:51

    Hi @Luis,

    Thank you for reaching out to us.

    Please provide temporary wp-admin and FTP access. We will check what can be done to help you.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Luis
    Luis
    Participant
    October 8, 2024 at 11:54

    Hey,

    Thank you so much!

    I’m sending the necessary credentials for accessing the website and FTP. If you need anything else, just let me know.

    Kind Regards

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    October 9, 2024 at 11:34

    Dear Luis,

    We hope this message finds you well. We would like to inform you that we have successfully excluded the cart and checkout pages from the caching function of the W3 Total Cache plugin. You can view the updated settings here: https://prnt.sc/__Ijy3Hru0-2.

    With these changes, everything should now be functioning normally.

    Thank you for your attention to this matter.

    Best regards,
    The 8Theme Team

    Avatar: Luis
    Luis
    Participant
    October 9, 2024 at 13:16

    Hey Luca,

    Thank you for your quick response, but the issue is still no fixed. I’ve tried to add random products a few times and the problem remains as you can see the example in the image attached with this post.

    I’ve checked the changlog of the theme, after the July 12 update that the issue manifested. I’m saying this because we had a fail order from a client after that date.

    You didn’t detect any conflict or some other issue in some code?

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    October 9, 2024 at 13:38

    Dear Luis,

    We hope this message finds you well. Could you please temporarily disable the W3 Total Cache and monitor the issue subsequently?

    Thank you for your cooperation.

    Best regards,
    8Theme’s Team

    Avatar: Luis
    Luis
    Participant
    October 9, 2024 at 16:24

    Hey Luca,

    I disable W3 Total Cache plugin and did a couple of tests. I was able to reproduce the same issue. Right now the plugin is disable and you can see for yourself.

    Avatar: Justin
    Luca Rossi
    Support staff
    October 10, 2024 at 07:13

    Dear Luis,

    We hope this message finds you well. We’re writing to inform you that we have temporarily disabled the Ajax Add To Cart feature on your website. Following this adjustment, we are pleased to report that the site is now functioning correctly.

    Additionally, during our routine monitoring, we encountered a PHP Fatal error in the debug.log file, which appears to be associated with the Advanced Product Fields Pro for WooCommerce plugin. Below is the error log for your reference:

    
    [10-Oct-2024 06:04:21 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_price() on bool in /home/specialistcorner/public_html/wp-content/plugins/advanced-product-fields-for-woocommerce-pro/includes/classes/class-cart.php:12
    Stack trace:
    #0 /home/specialistcorner/public_html/wp-content/plugins/advanced-product-fields-for-woocommerce-pro/includes/classes/class-cart.php(30): SW_WAPF_PRO\Includes\Classes\Cart::get_cart_item_base_price()
    #1 /home/specialistcorner/public_html/wp-content/plugins/advanced-product-fields-for-woocommerce-pro/includes/controllers/class-product-controller.php(508): SW_WAPF_PRO\Includes\Classes\Cart::calculate_cart_item_prices()
    #2 /home/specialistcorner/public_html/wp-includes/class-wp-hook.php(324): SW_WAPF_PRO\Includes\Controllers\Product_Controller->add_prices_to_cart_item()
    #3 /home/specialistcorner/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /home/specialistcorner/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /home/specialistcorner/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1407): do_action()
    #6 /home/specialistcorner/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/SimulateCartEndpoint.php(87): WC_Cart->calculate_totals()
    #7 /home/specialistcorner/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/AbstractCartEndpoint.php(73): WooCommerce\PayPalCommerce\Button\Endpoint\SimulateCartEndpoint->handle_data()
    #8 /home/specialistcorner/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/ButtonModule.php(140): WooCommerce\PayPalCommerce\Button\Endpoint\AbstractCartEndpoint->handle_request()
    #9 /home/specialistcorner/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}()
    #10 /home/specialistcorner/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #11 /home/specialistcorner/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /home/specialistcorner/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()
    #13 /home/specialistcorner/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax()
    #14 /home/specialistcorner/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #15 /home/specialistcorner/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #16 /home/specialistcorner/public_html/wp-includes/template-loader.php(13): do_action()
    #17 /home/specialistcorner/public_html/wp-blog-header.php(19): require_once('/home/specialis...')
    #18 /home/specialistcorner/public_html/index.php(17): require('/home/specialis...')
    #19 {main}
      thrown in /home/specialistcorner/public_html/wp-content/plugins/advanced-product-fields-for-woocommerce-pro/includes/classes/class-cart.php on line 12
    

    We recommend reaching out to the plugin’s author to address this issue promptly, ensuring continued smooth operation of your site.

    Should you require further assistance or have any questions, please do not hesitate to contact us.

    Best Regards,
    8Theme’s Team

    Avatar: Luis
    Luis
    Participant
    October 10, 2024 at 09:23

    Hey Luca,

    After I’ve checked, everything seems to work fine now. Thank you so much for your help.

    I’m sending the information from the log file to the plugin developer right away.

    Kind Regards,
    Luis Miguel

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 10, 2024 at 09:24

    Dear Luis,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Issues with the cart page – Sometimes it doesn’t add the product’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.