Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1372280

    Hi
    I have a major issue on my production site: https://silviafindings.com
    When I add more than 5 items to my cart, only 5 show, the remaining 5 (cause I added 10) don’t show, yet my cart totals are for 10 items.
    I troubleshooted on my DEV environment: https://silviadev.wpengine.com adding the the same items to my cart and when I switch from my Child theme to the default Twenty Twenty Two theme all of my items in the cart show.

    Can you think of the issue with Enfold that may be causing this?

    This is kind of urgent because I can’t switch theme on the production site and I must find a solution fast.
    Thank you
    Lyse

    #1372281

    Hi
    Seems the issue with the Enfold Child theme and my items show on the PROD site when I default to the Enfold theme.
    Lyse

    #1372282

    Hi again,
    The checkout page is also affected badly making it impossible for customers to review/placed their order.
    Much appreciate someone helping as soon as possible.
    Thanks
    Lyse

    #1372290

    Hi,

    Could you try to clear all caches and minification then leave it disabled, to see if that helps? Also please try activating the parent theme in order to check if the problem is coming from the child.

    Best regards,
    Rikard

    #1372305

    Hi Rikard,
    I did clear all cache and disabled the WP Rocket. I also tried switching to the Enfold parent theme and the cart displays correctly with the parent these activated.
    WooCommerce support responded that the theme may be “causing the lack of cart population further than 3 line items.”
    Thank you
    Lyse

    #1372307

    Hi
    I use the same theme on another one of the same client website: https://diyjewellery.com/ and it has the same issue.

    I have one more client using the Enfold Child theme and it works fine: https://www.herbalhealinginc.com

    Thanks
    Lyse

    #1372316

    Hi,

    Thanks for the update. If the problem goes away when the parent theme is active, then that means that the problem is likely coming from some of the code which you have added in the child theme. Please try to remove all code in functions.php first of all, then add the functions back one by one and check when the problem starts occurring again.

    Best regards,
    Rikard

    #1372325

    OK will try that now…
    On my dev environment I deactivated all code snippets and still I have the isssue
    Lyse

    #1372326

    Tested using incognito and not logged in and the issue goes away when I’m not logged in

    #1372341

    Hi,

    If you are seeing different results depending on weather you are logged in or not would indicate problems with caching, are you sure that all caches are cleared, both on the server and on your local machine?

    Best regards,
    Rikard

    #1373126

    Hi Rikard,
    Sorry for the late response. I’m traveling and don’t always have access to my work.
    The issue is not caused by caching.
    A CSS change was made to this file: /wp-content/uploads/dynamic_avia/enfold_child.css that fixes the issue. The same change applied to my other website did not fix the issue there (the file structure differs).
    I will provide the exact CSS change as soon as I get it from my developer who sometimes provides me with PHP coding support.
    Please keep this ticket open until I provide you with what changed because I should not be making changes to that file as it may get overwritten in an upcoming update to the Enfold parent or child theme.

    Thank you
    Lyse

    #1373263

    Hi,

    Thanks for the update, we’ll keep this thread open for you.

    Best regards,
    Rikard

    #1374818

    Hi Rikard,
    I found that adding the following code in my child theme functions.php resolves the cart/checkout pages issue for both of my websites:

    Here’s the code that causes the issue:
    div table.shop_attributes .main_color table caption, .main_color tr:nth-child(2n), .main_color .pricing-table > li:nth-child(2n), #top .main_color .avia-data-table.avia_pricing_minimal td { color: #333333; display: none; }

    Here’s the code that fixes the issue:
    add_action(‘wp_footer’, function(){
    if (is_cart() || is_checkout()) {
    ?>
    <style>.main_color tr:nth-child(2n){display: table-row !important;}</style>
    <?php
    }
    });

    Please let me know if this help permanently fix the issue as it’s happened two times.

    Thank you
    Lyse

    #1374927

    Hi,

    Great, I’m glad that you found a solution. If everything is working as it should, then please keep your fix in place for now.

    Best regards,
    Rikard

    #1374932

    Hi Rikard,
    But I think the Enfold parent theme should be fixed because I don’t think this should be in in the child theme as a fix.
    Thanks
    Lyse

    #1374953

    Hi,

    Yes, we’ll look into fixing this problem in a future release.

    Best regards,
    Rikard

    #1374954

    OK Thank you Rikard.
    Lyse

    #1374986

    Hi,
    Glad to hear that you have this sorted out, and thanks for sharing your solution, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Cart page items missing’ is closed to new replies.