I have verified that the mb_DefaultProductTemplate.sst has neither the [-- define subproduct --] section or code in the [-- define product --] to go through the loop of subproducts. I guess the designer decided that subproducts weren't important to mobile users ;(
I have logged this as a bug to be fixed in a future version.
I was able to slightly modify a copy of the mb_DefaultProductTemplate.sst and add code to display the subproducts. Here is what I added to the top of the template.
- Code: Select all
#########################
[-- DEFINE SUBPRODUCT --]
#########################
[-- IF VAR.MoreInfoTemplate --]
<div class="Subproduct">
[-- IF ANALYTICS_MULTI_DOMAIN --]
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post" onSubmit="javascript:__utmLinkPost(this)">
[-- ELSE --]
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post">
[-- END_IF --]
[-- INCLUDE Subproduct-Name PROCESS --]
[-- INCLUDE Subproduct-Price PROCESS --]
[-- INCLUDE Subproduct-AddToCartButton PROCESS --]
</div>
[-- ELSE --]
[-- INCLUDE Subproduct-Name PROCESS --]
[-- INCLUDE Product-Price PROCESS --]
[-- INCLUDE Subproduct-AddToCartButton PROCESS --]
[-- END_IF --]
#############################
[-- END_DEFINE SUBPRODUCT --]
#############################
That creates the layout for the subproducts themselves but you still need to modify the [-- Define Product --] part to get the subproducts to display. So here is what I added between the [-- DEFINE PRODUCT --] tag and above the <tr> tag (I'm including those 2 lines so you can see where I put it.
- Code: Select all
[-- DEFINE PRODUCT --]
[-- if product.subproduct --]
[-- INCLUDE Product-Name PROCESS --]
[-- INCLUDE Product-Description PROCESS --]
[-- VAR.MoreInfo no --]
[-- LOOP SUBPRODUCTS --]
[-- SUBPRODUCTS --]
[-- END_LOOP SUBPRODUCTS --]
[-- else --]
<tr>
And at the very end of the [-- Define Product --] section, just before the [-- END_DEFINE PRODUCT --] I added another [-- END_IF --] (so there will be 2 there) to close the [-- if product.subproduct --] that I added at the top of the section.
- Code: Select all
[-- END_IF --]
[-- END_IF --]
[-- END_DEFINE PRODUCT --]
So try adding those sections to a copy of the template, then change the default mobile product and search product templates to what ever you called the template and see if that works for you.