Complex sentence: Smart shops in various countries have been known in the past to sell designer drugs: that is, synthetic substances that were not (yet) illegal.
Split into simpler sentences: Smart shops in various countries have been known in the past to sell designer drugs. That is, synthetic substances that were not (yet) illegal.