Jump to content
Sign in to follow this  
FWR Media

auctionTastic

Recommended Posts

No having thought about this I am not viewing this as a bug.

 

1) If you are auctioning a product and you know you are low on stock you wouldn't set osCommerce to "stop checkout when out of stock"

 

2) If you e.g. new you only had one of an item you would no doubt keep an eye on the auction and take it down before the winning bid if someone bought it outright. You do have the ability to delete auctions you know.

 

2) I know what you mean but what if they will buy 10 product at midnight?

I hope it doesn't mean I can't sleep at all. :D

Share this post


Link to post
Share on other sites
I hope it doesn't mean I can't sleep at all. :D

 

absolutely .. I don't get sleep .. why should you! :D

Share this post


Link to post
Share on other sites
absolutely .. I don't get sleep .. why should you! :D

 

Good point. :D

 

,but what about the auction problem??

Share this post


Link to post
Share on other sites
Good point. :D

 

,but what about the auction problem??

 

Don't set osCommerce to block products out of stock

Share this post


Link to post
Share on other sites
Don't set osCommerce to block products out of stock

 

Hmm,

 

what if I haven't got any more of them?

 

What I'll send to costumer?

 

It looks like I can use auctionTastic only if I've got about 100 products in stock to make sure I'm not going to have problem like this.

Share this post


Link to post
Share on other sites
Hmm,

 

what if I haven't got any more of them?

 

What I'll send to costumer?

 

It looks like I can use auctionTastic only if I've got about 100 products in stock to make sure I'm not going to have problem like this.

 

Or an easy solution: just to keep one extra product for auction winner.

 

I wish I could help you with code, but I'm not as good. I'm just a beginner in php.

Share this post


Link to post
Share on other sites
Or an easy solution: just to keep one extra product for auction winner.

 

I wish I could help you with code, but I'm not as good. I'm just a beginner in php.

 

I don't need help with the code :) I'm not seeing this as an issue at the moment.

 

I am focused on auctionTastic being a solid and reliable addition to a website .. current feedback (limited as it is) seems to suggest that we are headed in the right direction.

Share this post


Link to post
Share on other sites
I don't need help with the code :) I'm not seeing this as an issue at the moment.

 

I am focused on auctionTastic being a solid and reliable addition to a website .. current feedback (limited as it is) seems to suggest that we are headed in the right direction.

 

You are right and you are doing an excellent job but I think this problem not suppose to be in professional auction source.

 

True? :rolleyes:

Share this post


Link to post
Share on other sites

I am running into a couple of challenges installing AuctionTastic on my localhost.

Fist I want to make clear that it NOT AuctionTastic itself as it works fine on a clean install. I am having a conflict somewhere with an addon.

 

Admin side works fine. I can add an auction.

When I click on Auction Products the categories box all auctions display fine.

 

When I click on one of the auctions, the auctions product info page stops after the listing was added on such and such a date. The footer does not display either.

 

The starting bid price displays on the auction product listing page.

The pink box displays on the auction product listing page with This product is on auction. To bid, you must first log into your account or create a new account. (Click here)

 

When I remove these lines from catalog/modules/auctions/auction_bids.php

 

$bid_unformatted = ($this->auctions_price_array['raw'] + $this->auctions['auctions'][$this->auctionKey]->overbid_amount);
$with_tax = $currencies->calculate_price($bid_unformatted, $tax_rate);
$validNewBid =  number_format(tep_round($with_tax * $currency_modifier, $currencies->currencies[$currency]['decimal_places']), $currencies->currencies[$currency]['decimal_places'], '.', '');
$validNewBidDisplay = $currencies->display_price($bid_unformatted, $tax_rate);

Auction Details:

the horizontal rule

and an empty box show up on the auctions product listing.

 

Still no footer !

 

Anyone have any ideas ?

Share this post


Link to post
Share on other sites

NEVER MIND - DISREGARD PREVIOUS POST !

 

The product_info page now displays the auction details, the bidding list and the footer !

 

I removed

 

$with_tax = $currencies->calculate_price($bid_unformatted, $tax_rate);

 

from catalog/includes/modules/auctions/auction_bids.php

 

Since tax is not used on our website, this should not be a problem ????

Share this post


Link to post
Share on other sites
NEVER MIND - DISREGARD PREVIOUS POST !

 

The product_info page now displays the auction details, the bidding list and the footer !

 

I removed

 

$with_tax = $currencies->calculate_price($bid_unformatted, $tax_rate);

 

from catalog/includes/modules/auctions/auction_bids.php

 

Since tax is not used on our website, this should not be a problem ????

 

Odd that this should have caused a conflict.

Share this post


Link to post
Share on other sites
Odd that this should have caused a conflict.

Removing the line in the previous post, caused another challenge on my end. Everybody was able to bid $ 0.00 instead of the minimum bid amount !

Changing line 25 in catalog/includes/modules/auctions/auction_bids.php to:

$with_tax = $bid_unformatted; seemed to have solved this (for now).

I'll probably find some more challenges by changing this. If interested, I will keep you updated. And again, it is not your contribution, it's something on my end. I sure hope I can make it work.

Share this post


Link to post
Share on other sites

Trying to install on our live site and get this error:

 

Fatal error: Call to undefined method currencies::calculate_price() in /home1/xxxxxx/public_html/xxxxxx/includes/modules/auctions/auction_bids.php on line 25

 

Does this clarify anything (Perhaps because I do not have the latest oscommerce installed ???)

 

It fixes it with:

$with_tax = $bid_unformatted;

Share this post


Link to post
Share on other sites
Trying to install on our live site and get this error:

 

Fatal error: Call to undefined method currencies::calculate_price() in /home1/xxxxxx/public_html/xxxxxx/includes/modules/auctions/auction_bids.php on line 25

 

Does this clarify anything (Perhaps because I do not have the latest oscommerce installed ???)

 

It fixes it with:

$with_tax = $bid_unformatted;

 

Yes the old MS2.2 does not have this function .. auctionTastic was written for RC2a (although with a tiny amount of fiddling would work on MS2.2)

Share this post


Link to post
Share on other sites

Thanks for the quick reply.

 

I have another question:

 

When a bidder THAT IS NOT LOGGED IN clicks on an auction listing and wants to login via this link:

This product is on auction. To bid, you must first log into your account or create a new account. (Click Here)

Should he/she be redirected to the same the auction page ?

 

At the moment (in my case) it goes to the (non-auction) product page.

Share this post


Link to post
Share on other sites

Can anyone check to see if the product info page keeps refreshing itself in the Opera Browser (Mac) even tough the admin setting for Auctions --> Refresh Product Info Pages ? is set to false ?

Share this post


Link to post
Share on other sites

Please check this out on your AuctionTastic installation.

 

I bid 2,000.000.00 on an acution where the high bid was $601.00. I am now the high bidder on the auction for $ 2.00 (which is lower than the high bid of $601.00)

 

I checked this on a localhost with the just the AuctionTastic installed and OScommerce RC2a.

 

Thanks for checking.

Share this post


Link to post
Share on other sites

Robert

 

I checked out some more on the bidding and there appears to be a glitch in the format one should bid in the latest version of AuctionTastic.

 

If one bids 5,000.00 the bid will show up as the highest bid for $ 5.00 no matter what.

If one bids 5000.00 the high bid is $ 5,000.00.

 

Please check.

Share this post


Link to post
Share on other sites

Not too many interested in this FanTastic addon ???? (no pun intended)

 

Would like to see a fix so that the bids can be entered with or without the comma ( , ). (i.e. $ 1,000.00 or $1000.00)

Share this post


Link to post
Share on other sites
Not too many interested in this FanTastic addon ???? (no pun intended)

 

Would like to see a fix so that the bids can be entered with or without the comma ( , ). (i.e. $ 1,000.00 or $1000.00)

Not too many interested in this FanTastic addon ???? (no pun intended)

 

None received.

 

Onto the problem ..

 

includes/modules/auctions/classes/oscAuctions.php

 

Find ..

 

	if( $this->array_keys_exist($keys, $_POST) ){

 

Replace with ..

 

	if( $this->array_keys_exist($keys, $_POST) ){
  if ( false !== strpos($_POST['bid_price'], ',') ){
	$_POST['bid_price'] = str_replace(',', '', $_POST['bid_price']);
  }

Edited by FWR Media

Share this post


Link to post
Share on other sites
Not too many interested in this FanTastic addon ???? (no pun intended)

 

You're obviously wrong there. Just look at how many people watching this thread, it reveals a great interest - and rightfully so!

 

I would have liked to test also, but I can't right now, unfortunately.

Share this post


Link to post
Share on other sites
Onto the problem ..

 

includes/modules/auctions/classes/oscAuctions.php

 

Find ..

 

	if( $this->array_keys_exist($keys, $_POST) ){

 

Can only find this in includes/modules/auctions/classes/oscAuctions.php

 

 && ($this->array_keys_exist($keys, $_POST)) ){

 

is that what you would like me to replace ?

Share this post


Link to post
Share on other sites
You're obviously wrong there. Just look at how many people watching this thread, it reveals a great interest - and rightfully so!

 

I would have liked to test also, but I can't right now, unfortunately.

 

I love this addon, it is great and you should give it a try. That is what I meant, it is a FANTASTIC program - AuctionTastic - FANTASTIC

Share this post


Link to post
Share on other sites
Can only find this in includes/modules/auctions/classes/oscAuctions.php

 

 && ($this->array_keys_exist($keys, $_POST)) ){

 

is that what you would like me to replace ?

 

You are working from an older revision .. do the following: -

 

Find ...

 

  function setPlaceBid(){

$keys = array('products_id','bid_price','auction_id','products_model','tax_rate','currency_modifier');
if( isset($_POST['products_id'], $_POST['bid_price'], $_POST['tax_rate'], $_POST['auction_id'], $_POST['products_model'], $_POST['currency_modifier'])
&& ($this->array_keys_exist($keys, $_POST)) ){

 

Replace with

 

  function setPlaceBid(){
global $messageStack;
$keys = array('products_id','bid_price','auction_id','products_model','tax_rate','currency_modifier', 'validnewbid');
if( $this->array_keys_exist($keys, $_POST) ){
  if ( false !== strpos($_POST['bid_price'], ',') ){
	$_POST['bid_price'] = str_replace(',', '', $_POST['bid_price']);
  }
  // Reject bids if less than the required validnewbid
  if ( $_POST['bid_price'] < $_POST['validnewbid'] ){
	$messageStack->add_session('header', 'A bid must meet the minimum required value', 'warning');
	session_write_close();
	tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO,'products_id=' . tep_sanitize_string($_POST['products_id']) . '&page=' . $this->pageNum . '&auction_show=1'));
	exit;
  }

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×