AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: irsuhaimi on October 23, 2014, 10:28:11 PM

Title: Brands Scrolling List
Post by: irsuhaimi on October 23, 2014, 10:28:11 PM
Need help. Each time when I click an image of any brand, it always shows all products from the manufacture. But, I don't know when it start happened, now when I click any brand image, it will direct me to the home page. How to fix it?

Title: Re: Brands Scrolling List
Post by: Basara on October 24, 2014, 02:05:05 AM
Hello.

Please post site URL
Title: Re: Brands Scrolling List
Post by: llegrand on October 24, 2014, 07:40:39 AM
I too reported this behavior in mid-September -  it remains unresolved to date. :(

http://forum.abantecart.com/index.php/topic,2686.msg11513.html#msg11513 (http://forum.abantecart.com/index.php/topic,2686.msg11513.html#msg11513)

Lee




Title: Re: Brands Scrolling List
Post by: irsuhaimi on October 24, 2014, 11:48:52 AM
Hi Basara, this is the link http://onlinestore.adventuresgears.com
Title: Re: Brands Scrolling List
Post by: irsuhaimi on October 26, 2014, 10:49:00 PM
Who can help me to solve this problem? Abantecart?
Title: Re: Brands Scrolling List
Post by: Basara on October 27, 2014, 06:22:36 AM
Quote from: irsuhaimi on October 26, 2014, 10:49:00 PM
Who can help me to solve this problem? Abantecart?

Hello. As posted above you need to remove Non-existent brands from the Brands Scrolling List block
or modify public_html/storefront/controller/blocks/listing_block.php file
after line 319 add
// Skip if data source is vanished but still set in the listing.
$result = array_filter($result);

see file https://github.com/abantecart/abantecart-src/blob/f45bee4742a9b6db2caf3975340ebf28f6a9c83d/public_html/storefront/controller/blocks/listing_block.php#L320