Inactive
- Join Date:
- May 2006
- Posts:
- 80
- Plugin Contributions:
- 0
Auction 0.94 voor zen-cart 1.30
I have converted the auction module for zen-cart 1.30.
You can download it from http://www.managing-it.nl
Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details
This cutover relies on some testing that is still incomplete so may be cancelled at short notice
Inactive
I have converted the auction module for zen-cart 1.30.
You can download it from http://www.managing-it.nl
Zen Follower
i read there was a bug with sending winning email before the actual auction ends... or something like that... was that fixed or not, or it's not even a bug :laugh:
Inactive
Please try this current version and let me know if this bug still exists.
Zen Follower
i will give it a shot ... but 1st
shopping_cart.php changes
Find these line:
case 'add_product' :and immediately after add
if (isset($_GET['mod']) && $_GET['mod'] == 'auction') {
$new_products_price = zen_db_prepare_input($_POST['price']);
$sql = "select products_price from " . TABLE_PRODUCTS . " where products_id = " . (int)$_POST['products_id'];
$result = $db->execute($sql);
$old_price = $result->fields['products_price'];
$sql = "update " . TABLE_PRODUCTS . " set products_price = " . zen_db_input($new_products_price) . " where products_id = " . (int)$_POST['products_id'];
$db->execute($sql);
$sql = "update " . TABLE_PRODUCT_AUCTION_EXTRA . " set bid_old_buynow_price = " . zen_db_input($new_products_price) . " where products_id = " . (int)$_POST['products_id'];
$db->execute($sql);
}
i couldn't find the addproduct in the file... i just made a fresh installation of zencart1.3.0 ...
Inactive
Look for this
/**
Zen Follower
okay , so im back to zenauction after upgrading to 1.3.0.1
does this auction works fine with 1.3.0.1 ? since here's what happened to my main page after installing....
This is the main define statement for the page for english when no template defined file exists. It is located in: /includes/languages/english/index.php
Define your main Index page copy here.
Fatal error: main(): Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shoptwa/public_html/tjtest/includes/templates/template_default/templates/tpl_index_default.php on line 42
Zen Follower
okay , this thing doesn't seem to work fine with 1.3.0.1
any version on the way ...
Zen Follower
i guess there's some changes needed to the includes\templates\template_default\templates\ ... files...
there's a whole list of files and i dont know which to change.
so to make my site work again, i re-copied the 1.3.0.1 original files :sleepy:
Zen Follower
there's one thing bugging me about this auction and relation to the shopping cart...
if an item has buy it now price set and a customer comes and bid > it send the item to the shopping cart (as if the customer clicked the buy it now) ... thats wierd...if someone is bidding it means he doesn't want to buy now....
anyone encoutered this issue, or solved it...
using 1.3
Zen Follower
are all those threads about this module dead ... ?
this buy it now button doesn't work for me ... i click, nothing happen ... i get "Your Bid Is Too Low" on top in red ...
Zen Follower
okay , so i just found a bug in the include/functions/extra_functions/product_auction.php
line 75:
case (zen_get_products_allow_add_to_cart($product_id) == 'Y'):
change to:
case (zen_get_products_allow_add_to_cart($product_id) == 'N'):
the change is from Y to N ...
so now when you set check Yes to "This Product can be added to cart:" in the product-auction in the admin .... the BUY NOW button will show....
aghhhh , i can't believe i've been scratching my head all day for one character error :smartass:
Zen Follower
Tell staff why this post should be reviewed.