changed back get_layout to spree config var