You can change the group attributes layout for custom single products or categories with the below filter.In this example the product ID 87 gets the layout 2 and the product with the ID 333 the layout 3.function modify_group_attributes_layout(...