is there a way to change price in cart once the item is in the cart, thru the code on pressing 'Update' button?
I'm trying, thru the code, to change the price of an item in the cart, if the client orders less than the number of items in a quote. I have an electronic quote page where they can add to cart. It all works. However, if they change the Quantity in the Cart itself to less than the number of items quoted, the price should go up to the original price of an item that is pulled from the database.
My question is really, can this be done thru the code? I'm trying for example:
<?php
If (something happens) {
$eCart->DisplayInfo("Price") = $theoriginalpricefromtable;
}
?>
but it errors out the cart.php page (even though there's nothing missing in the code).
So...how can I adjust the number in the $eCart->DisplayInfo("Price") ?
Thanks.