This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Index table problem

#6070
Ernest MarcinkoErnest Marcinko
Keymaster

Hi!

Can you please provide temporary back-end and FTP details to take a look at your configuration and debug through the search code?
If the configuration is correct, it might be a yet unknown issue.
To safely provide FTP and back-end access edit your first post in this thread, or upload a .txt file with the details. Both methods are safe and visible only to me an you.

For the in-stock status I can only think of a custom code solution. I’ve quickly put together a small code snippet for you, that might work. Try putting this code somewhere into your themes functions.php file in your theme directory:

[php]
add_filter( ‘asp_pagepost_results’, ‘asp_stock_status_titles’, 1, 1 );

function asp_stock_status_titles( $pageposts ) {
foreach ($pageposts as $k=>$v) {

// Get the stock status
$stock_status = get_post_meta( $v->id, ‘_stock_status’, true);

if ( $stock_status == "" ) continue;

// Add stock status string
if ( $stock_status == "instock" )
$pageposts[$k]->title .= " – In Stock";
else
$pageposts[$k]->title .= " – Out of Stock";

}

return $pageposts;
}
[/php]