Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
teleservicecenter

Block Cross Selling v2.0.1 - Displays products on frontend that are flagged visibility: nowhere

Question

So, we have this product, "Aanmaken of configureren account", this is marked as visible nowhere. In catalog or search the product really isn't visible, but the block cross selling product does show this product in frontend.

The product configuration: 0_1535096185962_303fa570-6fde-4774-88c1-bd6eb7d16954-image.png

Block Cross Selling: 0_1535096094807_e563b08c-e7bc-497d-a824-e4eeb7bcb78b-image.png

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

To fix this, open /modules/crossselling/crossselling.php

Change: AND product_shop.active = 1 '.(Group::isFeatureActive() ? $sql_groups_where : '').'

To: AND product_shop.active = 1 AND p.visibility IN ("both", "catalog") '.(Group::isFeatureActive() ? $sql_groups_where : '').'

Make sure you clear cache in the BO performance page, then test. Hope this helps. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...