Hello,
As the subject suggests, I would like to hide products with no image or products with a placeholder image such as no_image.gif. I think it'll be good for both SEO and UX.
I'm aware that I could make those products inactive but it will be tedious with many products.
Thanks in advance.
Is it possible to Hide Products with no images?
- burt
- Core Team
- Posts: 4561
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 422 times
Re: Is it possible to Hide Products with no images?
update products set products_status = 0 where products_image = 'no_image.gif'
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: Is it possible to Hide Products with no images?
@burt where would that line be placed? Or is it a hook?
Thanks.
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times