Login Form

#623 – multiple items with same end date

Posted in ‘BF Auction’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 06 May 2015 00:09 AEST
vako
Joomla! version: 3.4

Hi
I entered auction items with multiple occurences ('quantity available' >1). What will happen when the end date is reached?
Will the items be awarded to the highest bidder and than the following bidders in rank until all items are awarded? Or should I enter all items as seperate lots?

We don't want to exend the bidding after the final closing date of the auction.

Thanks for your help!
Wednesday, 06 May 2015 21:48 AEST 15'
Tim
Everything Bundle, BF Quiz Plus 3 Years, BF Survey 12 Months
When you set multiple quantity for an item eg. 20, when the auction ends it will be automatically re-listed with the remaining quantity with an end date 7 days from now. If there is only 1 quantity available, items are not automatically re-listed, but you can select the item in the back end and press the relist button, which will create a new copy of the item with an end date 7 days from now.

If you want to change this behavior and stop it changing the end date, you'd need to edit the code in /components/com_bfauction_plus/controller.php

//lines 1283 - 1291
// set end date to be 7 days from now
$date = JFactory::getDate();
$date->modify("+7 days");

if(is_callable(array('JDate', 'toSql'))){
	$row2->endDate = $date->toSql();
}else{
	$row2->endDate = $date->toMySQL();
}


regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Friday, 08 May 2015 23:30 AEST
vako
Ok, this is clear. Thank you for your support!
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Go to top