• I’ve just taken on a website rescue job; https://www.brokenarrowarchery.com.au and all is well, except for a cart issue.
    The word ‘test’ appears as body text immediately after the product name. I’ve looked in all the shop and product settings, and tried to trace the source but no luck.
    Any ideas?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Did you found any solution for that? I’m having the same issue

    Thread Starter Lime Dezign

    (@lime-dezign)

    No, not yet :/

    Any solution to this?
    Have the same issue.

    thealex626

    (@thealex626)

    Same issue for me. Need a solution.

    thealex626

    (@thealex626)

    Ok, I’ve scanned all the template files.

    In the woocommerce/templates/cart/
    cart.php,
    mini-cart.php

    // Meta data
    echo WC()->cart->get_item_data( $cart_item );

    somehow it outputs “test”

    cyberfoxz

    (@cyberfoxz)

    for me the same problem.
    So if we delete that @thealex626 it should work??

    thealex626

    (@thealex626)

    Yes, you can comment that line. But I honestly have no idea what that line of code really does and where it takes the “test” string.

    huzaifah87

    (@huzaifah87)

    found the solution..but a bit weird why its related to this location, the “test” come at \wp-content\plugins\booking-system\addons\woocommerce\includes\class-woocommerce-cart.php. let the echo blank at line

    global $DOPBSP;
    global $DOPBSPWooCommerce;
    echo ‘test’; <– change to echo ”;
    $product_id = $cart_item[‘product_id’];

    hope this help someone ??

    thealex626

    (@thealex626)

    Hey guys! I know what’s the origin of “test” string. You are using the “PinPoint Booking System”, right?

    They actually had a fix of that problem in their latest update.

    Have a nice day!

    cyberfoxz

    (@cyberfoxz)

    Yep indeed! It is now good haha.
    Thanks for the information.

    Ciao

    thealex626

    (@thealex626)

    Np mate!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Woocommerce Cart: "test" appearing after product name’ is closed to new replies.