Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Omer Nesher
0 points
Beginner
There is a bug that causes auctions not to end when a user clicks buy it now.
After a user has clicked buy it now, a second user can go to that auction and click buy it now and become the winner instead of the original one.
I have found the problem. In defaults_auction.php you only close the auction if the amount sold is greater than the inventory. It should actually be if the amount sold is equal (or greater) than inventory.
// IF SOLD MORE THAN QTY EXPIRE LISTING
if($qty_sold > $qty){
update_post_meta($post->ID,'listing_expiry_date','');
}
Should be:
// IF SOLD ALL OF QTY EXPIRE LISTING
if($qty_sold >= $qty){
update_post_meta($post->ID,'listing_expiry_date','');
}
There is a bug that causes auctions not to end when a user clicks buy it now.
After a user has clicked buy it now, a second user can go to that auction and click buy it now and become the winner instead of the original one.
I have found the problem. In defaults_auction.php you only close the auction if the amount sold is greater than the inventory. It should actually be if the amount sold is equal (or greater) than inventory.
Should be:
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now