• Resolved albertklim

    (@albertklim)


    We have installed the Advanced Dynamic Pricing for WooCommerce.

    We added a rule to give 10 percent discount to 2 different rules.

    However, when customers add an item to their cart, go to the shopping cart, and they switch language, they see the error message (below) at the top of their screen AND they see the product they just added appear in the cart 3 times (different line items) and random quantities for each line item (sometimes 3644 items in the cart or more, very random.) When you then try to delete one of the three times in the cart, it doesn’t delete the item, it actually increases the quantity of one of the line items.

    “Warning: Invalid argument supplied for foreach() in /home/admin/public_html/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/External/WC/WcCartItemFacade.php on line 214”

    We are on WP 5.5 and WooCommerce 4.4.0. The plugin is up to date as well. The site is in 5 different languages, supported by WPML.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advanced Dynamic Pricing Error shopping cart when changing language’ is closed to new replies.