on 2021 Nov 24 12:48 PM
Hello everyone,
We would like to add new tab to responder on Product Configurator.
Our case is;
We would like to show user the weight of every attribute he/she choses based on attribute's value. We are going to read weight data from custom table. As far as we can see, there is no place where we can define the weights of the attribute values other than custom table.
Anyone knows how we can achieve this requirement?
Best regards.
Request clarification before answering.
Mehmet, you will need to access the Configurator page in Responsive Templates. From there, it would be the ResponderForProductView template that would be modified.
Routinely see modifications to this template but have not seen any examples of a new tab being added. For example, when an attribute is picked, you may pop it in the Responder and include the weight data, along with the value that has been picked.
There is also a ConfigurationTreeView template that may signify that the two current tabs are static and may not be added to.
My knowledge of CSS is not deep enough to advise you on the proper steps from here. Hopefully someone else will chime in.
It's a starting point hopefully?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You wouldn't necessarily have to go through this path. Another way of doing this would be to throw your custom table calls, via the Formula Builder TABLE tag, into an Display Only Text Attribute field. Then reference that in your knockout.
Something like this perhaps?
<table cellspacing="0" class="table table-condensed">
<tr>
<th>Weights</th>
<td class="nrc" style="text-align: right;">Primary Weights</td>
<td class="nrc" style="text-align: right;"><*VALUE(Primary Weight Attribute)*></td>
</tr>
</table>
The VALUE tag could be substituted with a TABLE tag. Or that Value tag is referencing an attribute that is fed via a rule. There's a lot of different ways to go... However, this way, you control the values through HTML in the attribute. Makes life a little easier to manage all around.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.