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

Forums / Addon Sideboxes / Auction 0.94 voor zen-cart 1.30

Auction 0.94 voor zen-cart 1.30

Locked

Started by manage_it on 22 May 2006, 7:43 AM · Views: 5,437

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
22 May 2006, 7:43 AM
#1
manage_it avatar

manage_it

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

26 May 2006, 9:59 PM
#2
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

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:

26 May 2006, 10:15 PM
#3
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

Please try this current version and let me know if this bug still exists.

26 May 2006, 10:25 PM
#4
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

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 ...

27 May 2006, 2:16 PM
#5
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

Look for this

/**

  • Method to handle cart Action - add product
  • @param string forward destination
  • @param url parameters
    */
    function actionAddProduct($goto, $parameters) {
13 Jun 2006, 4:49 PM
#6
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

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
 
13 Jun 2006, 5:01 PM
#7
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

okay , this thing doesn't seem to work fine with 1.3.0.1
any version on the way ...

13 Jun 2006, 5:34 PM
#8
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

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:

19 Jun 2006, 8:53 PM
#9
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

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

20 Jun 2006, 6:51 PM
#10
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

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 ...

20 Jun 2006, 7:44 PM
#11
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

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:

20 Jun 2006, 7:54 PM
#12
chac416 avatar

chac416

Zen Follower

Join Date:
May 2006
Posts:
102
Plugin Contributions:
0

Re: Auction 0.94 voor zen-cart 1.30

oh , and , and ,,, anyone noticed that the "Buy It Now!" button is wider by 4px than the "Submit Bid" button... oh yesss. and it bugggedddd me...
so here's the new "Buy It Now!" button (same width as Submit Bid).. now they align well :wink2: