Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Brands Scrolling List  (Read 5360 times)

Offline irsuhaimi

  • Newbie
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
Brands Scrolling List
« 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?


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +274/-2
    • View Profile
Re: Brands Scrolling List
« Reply #1 on: October 24, 2014, 02:05:05 AM »
Hello.

Please post site URL

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: Brands Scrolling List
« Reply #2 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

Lee





Offline irsuhaimi

  • Newbie
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
Re: Brands Scrolling List
« Reply #3 on: October 24, 2014, 11:48:52 AM »
Hi Basara, this is the link http://onlinestore.adventuresgears.com

Offline irsuhaimi

  • Newbie
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
Re: Brands Scrolling List
« Reply #4 on: October 26, 2014, 10:49:00 PM »
Who can help me to solve this problem? Abantecart?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5813
  • Karma: +274/-2
    • View Profile
Re: Brands Scrolling List
« Reply #5 on: October 27, 2014, 06:22:36 AM »
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
Code: [Select]
// 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



 

Powered by SMFPacks Social Login Mod