So I created a custom product with a few extra attributes. Then, in admin, I can add instance specific data to those attributes. I went ahead and created a detail_xxxproduct.html template and activated my custom product.
So far so good. Now, In addition to displaying my product data on my custom template, I want to make it a configurable product. I want the user to basically choose between two options. Back to admin, create configurable product w/ variations, yada yada. Now, the product has subtypes of configurableproduct and my custom product. So after I've done this, the detail_configurableproduct.html is found and used. My custom attributes on my custom detail template are not displayed. I'm not sure the best way to solve this. 1) Modify configurableproduct to have a conditional block which tests if the product is a custom product and includes the detail section. Not sure why this template is being chosen first though. It seems to simply be first in the list of subtypes to look for. If I did this, I'd have to ensure that the other detail page is not ever used. Not all custom products are configurable products too though so I do need the custom product template. 2) Include the configurable logic in my custom product template (again, with a conditional test for the configurableproduct subtype). Again, I'd have to find out why Satchmo is choosing the other template and do something custom to ensure this template was always chosen before the configurableproduct template. 3) Some other 3rd template, that is chosen if the subtype matches both configurableproduct and my custom product. Maybe there is some way to do this but I can't think of anything. Anyone have any suggestions? Thanks Dennis -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=.
