Considering below I can display products with true value of my custom attribute in ascending order based on position. How can I have products with false right after these in ascending too?
if ($subject->getCurrentOrder() == 'CustomAttribute') {
$collection ->addAttributeToFilter('myCustomAtt',1)->setOrder('position', 'asc');
$collection->load();
}
Is there any way to append $collection ->addAttributeToFilter('myCustomAtt',0)->setOrder('position', 'asc');
at the end of the $collection
?