K
K
killmeslow2014-05-05 14:34:48
css
killmeslow, 2014-05-05 14:34:48

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&amp;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>

Add to Cart now looks like the picture i.e. cart.gif and I need to make the "Add to Cart" button as a CSS button.
HostCMS engine

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2014-05-05
@0neS

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&amp;item_id={@id}" class="btn" onclick="return AddIntoCart('{/shop/path}', {@id}, document.getElementById('count_{@id}').value)">Добавить в корзину</a>

So?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question