Fez-o Joe:
Thanks Dave for pointing in directions!
OK Dave (and everyone else...) this will flip your noodle:
In reference to the other person with the Buy Now != buy now price when going into the shopping cart - I get it as well, and here's some interesting field data for ya...
DB fields
products.products_price = 42.00
auction_extra.bid_buynow_price = 500.00
auctions.customer_ bid = 41.50 (manually changed in phpadmin - just to see what it would show.)
So... on the auction page, it shows the current bid of $41.50 - the buy it now shows the $500, and yet when I click the buy now button - it takes me to the shopping cart where the item is $42.00
I t*hink* it has to do with the first FORM in tpl_product_auction_info_display.php going to the cart with the product_id of the product, and not picking up the the updated input fields. (near lines 180-193)
That make sense? hope it helps... my eyes are going buggy trying to decode this. :shocking:
Here's those lines from my php:
<div class="productAuction biggerText">
<?php echo BUY_NOW_PRICE; ?>
<?php echo $currencies->display_price($products_buynow_price,
zen_get_tax_rate($product_info->fields['products_tax_class_id']));
?>
<?php echo ((SHOW_PRODUCT_INFO_IN_CART_QTY == '1' and $_SESSION['cart']->in_cart($_GET['products_id'])) ? PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) : ' '); ?>
<?php if ($products_qty_box_status == '0' or $products_quantity_order_max== '1') {
// hide the quantity box and default to 1
$the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('price', $products_buynow_price) . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_AUCTION_BUY_NOW, BUTTON_AUCTION_BUY_NOW_ALT);
} else {
// show the quantity box
$the_button = PRODUCTS_QUANTITY_TO_BUY_NOW . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br>' . zen_draw_hidden_field('price', $products_buynow_price) . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_AUCTION_BUY_NOW, BUTTON_AUCTION_BUY_NOW_ALT);
}
?>
<br/>
<?php echo zen_get_buy_now_button_auction($_GET['products_id'], $the_button);
?>
--------------------------------
Good luck!