Forums / General Questions / about featured products list

about featured products list

Views: 426

Results 1 to 5 of 5
23 Sep 2012, 11:01 PM
#1
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

about featured products list

I was just wondering, why do the products that have been deleted from the store, still show up in this list when choosing items to be featured.

The vendor and the products have been deleted from the store in admin. Did I forget to delete them somewhere else?

cart version: 1.3.9h

23 Sep 2012, 11:55 PM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: about featured products list

Most likely you forgot to delete them in a crossed category or you still have them featured (in which case delete the featured item and poof gone). Featured products are not random, it only displays what you have told it to.

~Melanie

24 Sep 2012, 3:19 AM
#3
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: about featured products list

yes I know in the list showing what is featured will show if not deleted..I meant the drop down list to choose what you want to feature from

that is the one that still lists the products when they have been removed

24 Sep 2012, 4:12 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: about featured products list

You'd need to edit the zen_draw_products_pull_down() function to add the exclusion to the SQL query, something like "AND products_status != 1". But be mindful that there are 12 places in the admin where that same function is used in other pages. It might not be appropriate to do that kinda exclusion in all of those cases. Do what suits your specific needs best.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Sep 2012, 8:24 AM
#5
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: about featured products list

Thanks doc but I think will live with it for a bit...then maybe see if possibly they are still hiding in the database and delete from there. Of course if the vendor should change their mind and wish to show them again, less work for me...lol