• Resolved navyspitfire

    (@navyspitfire)


    So on my site (pass is “c”) if I have more than 1 item in the cart and I delete one of the products the error message and product table display like 3 times down the page.

    System settings:

    
    ### WordPress Environment ###
    
    Home URL: https://cprosdev.com/coral
    Site URL: https://cprosdev.com/coral
    WC Version: 2.6.14
    Log Directory Writable: ?
    WP Version: 4.7.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.29
    PHP Post Max Size: 64 MB
    PHP Time Limit: 0
    PHP Max Input Vars: 1000
    cURL Version: 7.19.7
    NSS/3.21 Basic ECC
    
    SUHOSIN Installed: –
    MySQL Version: ? 5.5.51 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.14
    : 
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?
    
    ### Active Plugins (35) ###
    
    Gravity Forms: by rocketgenius – 2.1.3
    LayerSlider WP: by Kreatura Media – 6.1.6
    Advanced Custom Fields: by Elliot Condon – 4.4.11
    All-in-One WP Migration: by ServMask – 6.40
    amr shortcode any widget: by anmari – 3.3
    Black Studio TinyMCE Widget: by Black Studio – 2.3.1
    Contact Form 7: by Takayuki Miyoshi – 4.6.1
    Flexible Shipping: by WP Desk – 1.8
    Gravity Forms User Registration Add-On: by rocketgenius – 3.7
    WPBakery Visual Composer: by Michael M - WPBakery.com – 5.0.1
    Login Widget With Shortcode: by aviplugins.com – 5.5.5
    MailChimp for WordPress: by ibericode – 4.0.13
    Cactus Masonry Classic: by Cactus Computers – 1.1.0.3
    Nav Menu Roles: by Kathy Darling – 1.8.6
    Order Refund: by FMEAddons – 1.0.0
    Password Protected: by Ben Huson – 2.0.3
    Photoswipe Masonry: by Dean Oakley – 1.2.4
    Popup Maker: by WP Popup Maker – 1.4.21
    Post Types Order: by Nsp Code – 1.9
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
    Scalia Theme Elements: by Codex Themes – 1.4.5
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.4.9
    WooCommerce Auto Restore Stock: by Gerhard Potgieter – 1.0.1
    WooSwatches - Woocommerce Color or Image Variation Swatches: by parbat chaudhari – 2.2.7
    WooCommerce Email Validation: by Hugh Lashbrooke – 2.0
    WooCommerce PayPal Pro: by wp.insider – 2.1
    WooCommerce Product Fees: by Caleb Burks – 1.2
    WooCommerce Stock Manager: by Vladislav Musílek – 1.1.3
    WooCommerce: by WooThemes – 2.6.14
    WP Google Analytics: by Aaron D. Campbell – 1.4.1
    Wordpress Page Widgets: by CodeAndMore – 3.2
    WP Smush: by WPMU DEV – 2.5.3
    YITH WooCommerce Points and Rewards Premium: by YITHEMES – 1.1.4
    YITH WooCommerce Wishlist: by YITHEMES – 2.0.16
    ZM Ajax Login & Register: by Zane Matthew – 2.0.2
    
    ### Settings ###
    
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ?
    
    ### WC Pages ###
    
    Shop Base: #9569 - /shop/
    Cart: #4952 - /cart/
    Checkout: #4945 - /checkout/
    My Account: #4943 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    
    ### Theme ###
    
    Name: Scalia Zaro Child
    Version: 1.1.2
    Author URL: https://codex-themes.com/scalia/
    Child Theme: ?
    Parent Theme Name: Scalia
    Parent Theme Version: 1.4.4
    Parent Theme Author URL: https://codex-themes.com/scalia/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: scalia/woocommerce/archive-product.php
    scalia/woocommerce/cart/cart-item-data.php
    scalia/woocommerce/cart/cart-shipping.php
    scalia-zaro-child/woocommerce/cart/cart-totals.php
    scalia/woocommerce/cart/cart.php
    scalia/woocommerce/cart/cross-sells.php
    scalia/woocommerce/cart/mini-cart.php
    scalia/woocommerce/cart/shipping-calculator.php
    scalia/woocommerce/checkout/form-billing.php
    scalia/woocommerce/checkout/form-checkout.php
    scalia/woocommerce/checkout/form-coupon.php
    scalia/woocommerce/checkout/form-login.php
    scalia/woocommerce/checkout/form-pay.php
    scalia/woocommerce/checkout/form-shipping.php
    scalia/woocommerce/checkout/payment-method.php
    scalia/woocommerce/checkout/payment.php
    scalia-zaro-child/woocommerce/checkout/review-order.php
    scalia/woocommerce/checkout/thankyou.php
    scalia-zaro-child/woocommerce/content-product.php
    scalia/woocommerce/content-product_cat.php
    scalia-zaro-child/woocommerce/content-single-product.php
    scalia/woocommerce/content-widget-product.php
    scalia-zaro-child/woocommerce/emails/customer-completed-order.php
    scalia/woocommerce/global/form-login.php
    scalia/woocommerce/loop/loop-end.php
    scalia/woocommerce/loop/loop-start.php
    scalia/woocommerce/loop/orderby.php
    scalia/woocommerce/loop/pagination.php
    scalia/woocommerce/loop/price.php
    scalia/woocommerce/loop/rating.php
    scalia/woocommerce/loop/result-count.php
    scalia/woocommerce/myaccount/form-add-payment-method.php
    scalia/woocommerce/myaccount/form-edit-address.php
    scalia/woocommerce/myaccount/form-login.php
    scalia/woocommerce/myaccount/form-lost-password.php
    scalia/woocommerce/myaccount/my-account.php
    scalia/woocommerce/myaccount/my-address.php
    scalia/woocommerce/myaccount/my-orders.php
    scalia/woocommerce/myaccount/navigation.php
    scalia/woocommerce/order/order-details.php
    scalia/woocommerce/product-searchform.php
    scalia/woocommerce/single-product/add-to-cart/external.php
    scalia/woocommerce/single-product/add-to-cart/grouped.php
    scalia-zaro-child/woocommerce/single-product/add-to-cart/simple.php
    scalia/woocommerce/single-product/add-to-cart/variable.php
    scalia/woocommerce/single-product/meta.php
    scalia/woocommerce/single-product/rating.php
    scalia/woocommerce/single-product/related.php
    scalia/woocommerce/single-product/review.php
    scalia/woocommerce/single-product/short-description.php
    scalia-zaro-child/woocommerce/single-product/tabs/additional-information.php
    scalia-zaro-child/woocommerce/single-product/tabs/description.php
    scalia-zaro-child/woocommerce/single-product/tabs/tabs.php
    scalia/woocommerce/single-product/title.php
    scalia/woocommerce/single-product-reviews.php
    
    
Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m having the same problem. The only overlapping plugin is Popup Maker.

    Edit: Which I just checked and disabling Popup Maker fixed the duplicate table issue for me.

    @henrybaum – Hmm, author of Popup Maker here, strange as we have thousands of sites using both and this is the first report. Happy to help investigate the issue though, we definitely don’t want this happening because of us.

    That said our plugin like most popular ones was written in a very specific way to try and prevent things like this, we don’t filter the_content at all for instance.

    So I am not sure where something like this could get messed up or how its getting messed up. IE Is the error returning with 3 x the error in the message, or is the ajax that loads the error running 3 times instead of 1 causing extra error messages.

    — After Testing —

    Ok so it must be in the JavaScript of WooC & PM somehow triggering something more than once. Here is what I found and hopefully someone with more WC code experience can weigh in.

    – The remove request is parsed via ajax, no page refresh takes place.
    – The remove_item request upon success redirects to ?removed_item=1
    – The removed_item=1 loads a completely new copy of the page via the same ajax request.
    – This newly loaded copy of the cart does not have the issue in it, appears normally with one message and one item in the cart, no duplications.
    – Then there are 2 subsequent ajax calls, one of which only returns one of the duplicated messages “If you proceed to checkout, you will earn 99 Points!”
    – The other reloads a widget.

    Ok so what this tells me is that the conflict most likely occurs after that new version of the page is loaded as it is correct.

    I will also add that you may want to try disabling the plugin/feature that adds the 99 points or loyalty stuff to see if its a 3 way conflict or if it still happens.

    All of that said we have a new version releasing today, not sure it will have any effect one way or the other but worth trying.

    Oh also further proof its JS based is that the repeated sections are not all identical, if it were template based they would be.

    That is it renders for me as

    – message
    – loyalty message
    – cart
    – loyalty message
    – message
    – loyalty message
    – cart
    – message
    – loyalty message
    – cart
    – message

    Notice the order is not the same for each repetition

    Thread Starter navyspitfire

    (@navyspitfire)

    @danieliser thank you for looking into this. Is there anything you need from me to further test? Should I update to latest version then of your plugin?

    Edit: I had disabled the points plugin before to troubleshoot but I still got double (definitely more than 1) notice saying my product was deleted. If you’re willing to troubleshoot in depth I can provide login credentials

    • This reply was modified 7 years, 8 months ago by navyspitfire. Reason: adding note

    @navyspitfire – The update is live now. Try updating though I doubt it will solve it. You can also enable the new Debug Mode which will cause any of our JS events on the front end to log info to the console. This may be useful if one of our events is getting triggered when it shouldn’t or similar.

    Thread Starter navyspitfire

    (@navyspitfire)

    Hmm I deactivated it but the cart issue still appeared…

    Thread Starter navyspitfire

    (@navyspitfire)

    I figured it out. The theme has two carts, but one is hidden for mobile/tablet. Unbelievable.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Delete on cart page displays err msg/table several times’ is closed to new replies.