This PR creates a table for keeping track of which units apply to which pages. Since product pages set options, which could apply to multiple units, it was difficult to create efficient queries in the page filters, meaning that if a website had thousands of products, it would grind to a halt. This table makes picking out those units a lot simpler as it doesn't require loads of crazy logical joins
This PR creates a table for keeping track of which units apply to which pages. Since product pages set options, which could apply to multiple units, it was difficult to create efficient queries in the page filters, meaning that if a website had thousands of products, it would grind to a halt. This table makes picking out those units a lot simpler as it doesn't require loads of crazy logical joins