robax wrote:
Here's what I tried. I put this at the very top of the product detail template so it is not within the confines of any test, I also deleted these tags that were already there within the tests because I was getting some duplicate controlid errors:
1.) No input tag is generated for the quantity
2.) No button link is generated for the Buy button
3.) Not sure how this is related, but you can see the last input generated, looks like a hidden input whose value is updated by the model selector ddl, but it has a value = to the property that was set in the [TAG:ADDTOBASKET:<prop CssClass="BuyButton Button" />] tag definition.
So all in all , unless you see something I am doing incorrectly, it seems that you can't just get rid of the stock test tags as these tags have their own stock checking logic built into them I guess.
oh ok, I see you pretty much answered that question in a later post.Hey Rob, thanks for the idea. I tried this but it still does not work.
In that case, you need to go all the way through the productlist and productdetails templates and remove all of the stock tests.
There are many of them, and they have closing/end tags that have to be accurately identified and removed. If an error results, then it was the wrong tag.
Regards
Rob
Here's what I tried. I put this at the very top of the product detail template so it is not within the confines of any test, I also deleted these tags that were already there within the tests because I was getting some duplicate controlid errors:
<div class="Models Row">
<div class="Label">Models</div>
<div class="Value">[TAG:MODELS:<prop CssClass="Model NormalTextBox" />]</div>
</div>
<div class="Quantity Row">
<div class="Label">Quantity</div>
<div class="Value">
[TAG:QTY:<prop CssClass="QuantityField NormalTextBox" />]
</div>
</div>
[TAG:ADDTOBASKET:<prop CssClass="BuyButton Button" />]
This is what rendered.<div class="Models Row">
<div class="Label">Models</div>
<div class="Value"><select class="Model NormalTextBox" id="dnn_ctr1332_ProductList_dlProductDetail_ddlModel_0" name="dnn$ctr1332$ProductList$dlProductDetail$ctl00$ddlModel">
<option value="11" selected="selected">Black, Spot Beam (Sold Out)</option>
<option value="12">Black, Flood Beam (Sold Out)</option>
<option value="13">Black, Combo Beam (Sold Out)</option>
</select></div>
</div>
<div class="Quantity Row">
<div class="Label">Quantity</div>
<div class="Value">
<span style="visibility:hidden;" class="QuantityField NormalTextBox" id="dnn_ctr1332_ProductList_dlProductDetail_valqty_0">*</span><span style="visibility:hidden;" class="QuantityField NormalTextBox" id="dnn_ctr1332_ProductList_dlProductDetail_rvalqty_0">*</span>
</div>
</div>
<input type="hidden" value="<prop CssClass="BuyButton Button" />" id="dnn_ctr1332_ProductList_dlProductDetail_hfModel_0" name="dnn$ctr1332$ProductList$dlProductDetail$ctl00$hfModel">
The issues are:1.) No input tag is generated for the quantity
2.) No button link is generated for the Buy button
3.) Not sure how this is related, but you can see the last input generated, looks like a hidden input whose value is updated by the model selector ddl, but it has a value = to the property that was set in the [TAG:ADDTOBASKET:<prop CssClass="BuyButton Button" />] tag definition.
So all in all , unless you see something I am doing incorrectly, it seems that you can't just get rid of the stock test tags as these tags have their own stock checking logic built into them I guess.