Answer the question
In order to leave comments, you need to log in
Add to cart button in XSL
There is this code:
<input type="text" size="3" value="1" id="count_{@id}"/>
<img src="/images/map_intocart.gif" width="12" height="21" border="0" usemap="#mapInToCart{@id}" style="margin: 0 0 -6px 1px;"/><a href="{/shop/path}cart/?action=add&item_id={@id}" onclick="return AddIntoCart('{/shop/path}', {@id}, document.getElementById('count_{@id}').value)"><img alt="Добавить в корзину" title="Добавить в корзину" src="/hostcmsfiles/images/cart.gif" style="margin: 0px 0px -4px 10px" /></a>
Answer the question
In order to leave comments, you need to log in
What?
UPD:
<input type="text" size="3" value="1" id="count_{@id}" />
<img src="/images/map_intocart.gif" width="12" height="21" border="0" usemap="#mapInToCart{@id}" style="margin: 0 0 -6px 1px;" />
<a href="{/shop/path}cart/?action=add&item_id={@id}" class="btn" onclick="return AddIntoCart('{/shop/path}', {@id}, document.getElementById('count_{@id}').value)">Добавить в корзину</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question