Support » Plugin: WooCommerce added to cart popup (Ajax) » Does not work correctly on individually sold products

  • marianssen

    (@marianssen)


    Hi,

    the plugin does not work in the case, when individually sold product is already added to cart. The button shows an empty and really small error box with no message inside.

    Do you have any workarounds?

    Regards

Viewing 1 replies (of 1 total)
  • webmasterlumi

    (@webmasterlumi)

    Hi,

    I had the same problem.
    I fixed it by editing plugin files.
    In file:
    public_html/wp-content/plugins/added-to-cart-popup-woocommerce/includes/class-xoo-cp-core.php
    line: 98:

    foreach( $error as $value ) {

    change $error into $error[0]

    It should help.
    But you have to remember about it, in case of plugin is updated, the changes will be overwritten

    Best reagards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.