I'm trying to programmatically add an existing product to an order but change the name and price, just for this order.
I can add the existing product easily enough using:
$subscription->add_product( get_product( '969' ), 1);
How can I set a custom name and price for that?
If I can set that I then know I can run the following to recalculate the totals:
$subscription->calculate_totals();