Joined: 12/7/2009 Posts: 59
|
Hi
I've just created a Product in a catalog and used the default display , however my sub total does not show.
I've compared the HTML output from the starter site example and mine , they both look similar except the Id's of the spans have extra characters and white space - I've no idea where those would have come from or whether that is the root of the problem.
as the "value" is in a hidden field I presume Ektron must be popularing the span using Javascript? So that might be failing in someway?
----------------- My output ----------------------
Subtotal:
<span class="price" id="
 ekproductpricectl00_mainPanel_Product1">
</span>
<input type="hidden" id="
 ekproductsalepricectl00_mainPanel_Product1" name="
 ekproductsalepricectl00_mainPanel_Product1" value="£6.00" />
----------------- Ektron sample ----------------------
Subtotal:
<span class="price" id="ekproductpriceproduct1">
</span>
<input type="hidden" id="ekproductsalepriceproduct1" name="ekproductsalepriceproduct1" value="$300.00" />
|
Joined: 5/10/2006 Posts: 493
|
Can you attach your XSLT? I think you may have extra space in the "id" attribute values.
|
Joined: 12/7/2009 Posts: 59
|
Please see attached
this is just the out the box xsl provided by the Ektron installation
File Attachment(s):
Product.zip (2185 bytes)
|
Joined: 12/7/2009 Posts: 59
|
I've actually inspected the file and realised there is a carriage return - this was caused by me copying the original , then opening it in an editor that changed the layout.
But not using my copy and just using the XLS from the workarea , I still get no subtotal listed despite having a sale and list price for the product depite it being visible in the hidden html field.
|
Joined: 12/7/2009 Posts: 59
|
To fix this you need to make sure you have runat=server in your head tags on your master page.
I came across as a fix for something else and the subtotals started to work.
|