Attribute formatting issue
-
This is somewhat related to this topic. But our friendly neighbourhood moderator closed it and removed some info so I’m starting this new topic to see if we can get a fix.
This is not really a bug but maybe a improvement request. 🙂
So there was a bug, which you guys fixed, that removed some variation attributes. The issue now is purely with formatting.
I have not fully investigated myself but some extras are printed in the HTML like this:
<dl class="extras">
<dt>Name:</dt>
<dd>Value</dd>
</dl>But some attributes are printed with just <br> and no space between the name + “:” and the value. The full “<td class=”product-name”>” looks like this:
<td class="product-name">
<div class="name">Oxford - Täckplugg med M8 & M10 Gänga För Backspegel</div>.
<br>
Name1:Value1
<dl class="extras">
<dt>Name2:</dt>
<dd>Value2</dd>
</dl> </td>You can see it in this screenshot from a removed replied @priyankajagtap wrote:
https://prnt.sc/YBx8nQtU5p5L
https://prnt.sc/qU0FVPBcvghHYou can see that it outputs “Extra Accessories:Extra RAM”
Here is a screenshot from an actual PDF from an actual order:
https://prnt.sc/I4wr4FACpb_yYou can see that “Artikelnr” (article number) has a nice format but “Gängstorlek” does not.
So basically it would be nice if the extra attributes also was formatted with a <dl> tag or similar.
The topic ‘Attribute formatting issue’ is closed to new replies.