Hello,
after updating to the latest version of SalesKing we are experiencing a regression in the cart behavior related to price handling.
Context: we use an external WooCommerce-based discount system that correctly applies product discounts before the cart is displayed.
Before the update, SalesKing behavior was:
-
it read the already discounted product price
-
it built the price editing UI starting from that value
-
it did not override the price unless the agent explicitly changed it
After the update, the behavior changed:
-
_salesking_set_price is always injected and submitted during update_cart
-
the price is forcibly reapplied even when the agent has not modified anything
-
as a result, clicking “Update cart” resets externally applied discounts
The issue occurs only during the cart update cycle (form submit).
Product page, mini-cart, and the initial cart load all show the correct discounted price.
We verified that the problem is related to how _salesking_set_price is handled during cart recalculation and seems consistent with changes introduced in the latest version (likely timing or priority changes in the cart lifecycle).
We currently apply a local workaround to prevent the override when the agent has not interacted with the price, but we would like to ask:
-
whether this new behavior is intentional
-
or if it is possible to restore the previous logic (do not force _salesking_set_price unless the agent actually changes the price)
We are happy to provide additional technical details or reproducible examples if needed.
Thank you.


