Quote:
Originally Posted by bosken
Ok, sounds perfect. I tried to locate the code in the custom php but very hard for me
Else I have to re-make the ads again and enable stock control...
|
Hello,
Open with a text editor (like Notepad) the file classifieds.php.
Search for:
Code:
// Check if we need to autopost new ad
if($item["usestock"] == 1)
{
// Does the seller has in stock more products
if($item["stock"] > 1)
{
// Yes, so post a new one
$repost_sold_item = getRepostSoldItem($itemid);
}
}
Replace with:
Code:
// Check if we need to autopost new ad
// Yes, so post a new one
$repost_sold_item = getRepostSoldItem($itemid);
Save and upload. I'm attaching the latest file, but this is something that you need to do in every update. At this time you need to rename the file classifieds_bosken.php to classifieds.php and its ready to work.
Chris