
Originally Posted by
seorank
The bid has not exceeeded the buyitnow price, yet when you click on the buyitnow button it adds the current bid price to the basket instead of the buynow price.
Also, any ideas how to change the currency for the auction products? reserve prices is showing in $.
I still can't reproduce the error your getting with the buy now button.....
Looks like I missed the currency one.... I uploaded the fix so any more downloads will have the edits, three files need to have some changes made to them, red indicates changes..
includes\templates\YOUR_TEMPLATE\templates\tpl_product_auction_info_display.php
line 146
Code:
echo '<div class="productAuction"><font color="#000">'. RESERVE_FRONT_TEXT . $products_reserve_price . RESERVE_BACK_TEXT . '</font></div>';
change to..
Code:
echo '<div class="productAuction"><font color="#000">'. RESERVE_FRONT_TEXT . $products_reserve_price_with_currency . RESERVE_BACK_TEXT . '</font></div>';
includes\modules\pages\product_auction_info\main_template_vars.php
find line 84
Code:
$auction_current_bid_with_currency = $currencies->display_price($auction_current_bid, zen_get_tax_rate($product_info->fields['products_tax_class_id']));
Just below it add this line...
Code:
$products_reserve_price_with_currency = $currencies->display_price($products_reserve_price, zen_get_tax_rate($product_info->fields['products_tax_class_id']));
includes\languages\english\extra_definitions\YOUR_TEMPLATE\product_auction.php
Line 35
Code:
define('RESERVE_FRONT_TEXT', 'A reserve price of $');
remove the dollar sign
Code:
define('RESERVE_FRONT_TEXT', 'A reserve price of ');
That should make it play nice with different currencies. Thanks for pointing that one out.
Bookmarks