Set a specific product price conditionally on Woocommerce single product page & cart
问题 In Woocommerce I would like to alter the price of a specific product (in this case with an ID of 87) on both the single product page and for related cart items. The product price needs to be increased by $10 but only on the single product page and only externally (so that the internal price or price set in Woocommerce is not altered). Additionally, this price should also be altered in the cart but only if products from a certain category are NOT also in the cart. Context: If someone buys this