Can this be changed from this
$list_box_contents[0][] = array('params' => 'class="productListing-data"',
'text' => TEXT_NO_PRODUCTS);
To this?
$list_box_contents[0][] = array('params' => 'class="productListing-data"',
'text' => More new products will be added soon. Please check back later.);

Originally Posted by
picaflor-azul
It is better to do a devlopers tool kit search for the constant TEXT_NO_PRODUCTS and then add your definition to the language file where it is located.
Thanks,
Anne
I'm thinking that the reason this question was asked is that the cart will show TEXT_NO_PRODUCTS when selecting Featured Products and there are none.
The correction that I have found for this is in the file includes/modules/winchester_responsive/product_listing.php.
There seems to be an errant line return in the file that causes the php to break. What that portion of the file is trying to do is to NOT show a Featured Products if there are none.
I have found that changing
PHP Code:
$list_box_contents[0][] = array('params' => 'class="productListing-data"',
'text' => TEXT_NO_PRODUCTS);
to
PHP Code:
$list_box_contents[0][] = array('params' => 'class="productListing-data"','text' => TEXT_NO_PRODUCTS);
causes the code to work correctly. IOW, if there are no Featured Products, the customer is not given that as a choice on the Categories page.
I haven't look to see if this problem is a carry over from the Column Layout mod.
Bookmarks