Active
Project:
UC Upsell
Version:
6.x-1.21
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2012 at 00:38 UTC
Updated:
25 Sep 2012 at 11:45 UTC
Probably an odd, backwards sounding request, but I would like to keep related products in the upsell location even if they're already in the cart.
The module seems to do a very effective job of filtering such products from the related products block.
I've peered through the module but I'm not catching where they're being filtered
Comments
Comment #1
sansui commentedPoking around, at line 197 of uc_upsell_core.inc
Changed
array_difftoarray_mergeand so far this seems to do the trick. Items already in the cart continue to show in the upsell block (for easy access to buy additional colors/variations of same product).