Anyway to auto assign a "Theme template" to a product?

50 0 6

Hi, pretty much as the title asks, is there anyway at all of auto assigning an existing product theme template to my products? 




I know we can bulk edit our products through the products section within Shopify, but what we would ideally like is a rule written so that if a product drops below "0" in inventory, the product layout alters to a second layout. I would also want us to be able to override and manually alter the theme for each product to.


I know this might no be possible without a lot of work, so even if we can use product tags or based on collection etc in anyway it would be great.


Any help would be great!