In uber-cart after auction has been won, the buyer will get add-to-cart button to add and buy the product. After clicking on add-to-cart button, it adds sell price value in the cart page instead of highest bid amount.

How to make it add highest bid amount in cart page instead of sell-price.

Any suggestions? Thanks in advance.

1 Answer 1

 * Implements uc_cart_alter.
function mymodule_uc_cart_alter(&$items ) {

  foreach ($items as $index => $item) {

   //you can add condition for your bid product

    $items[$index]->price = 100;

For reference:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.