VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: voidkun on July 23, 2013, 12:52:53 PM

Title: Update icons in cart showing twice
Post by: voidkun on July 23, 2013, 12:52:53 PM
On my cart page the x for removing item from cart is showing twice, have no idea why. I checked the default_pricelist in my default directory for virtuemart and template folder. I know this is probably due to template im using but hoping someone can just check site and let me know. Can any code geniuses figure this out and let me know,  Running VM2.0.22 and joomla 2.5.7.

Link

http://www.rampagegaming.co.za/index.php/shopping-cart-5

Title: Re: Update icons in cart showing twice
Post by: Maxim Pishnyak on July 23, 2013, 16:14:04 PM
First X is the part or 'Update cart' icon.

This is css issue.

Use tool Firebug(check FAQs in this forum section) to identify the way of solving it.
Title: Re: Update icons in cart showing twice
Post by: voidkun on July 23, 2013, 16:47:45 PM
as far as i can see the error is in vm.css.  here is the code, i think the two icon segments need to be in same segment in code, here is the code from my vm.css, can anyone see the error or help me with coding?

<form class="inline" method="post" action="/index.php/shopping-cart-5"><input type="hidden" value="com_virtuemart" name="option"></input>
      <!--<input type="text" title="Update Quantity In Cart" class="inputbox" size="3" maxlength="4" name="quantity" value="1" /> -->
    <input class="quantity-input js-recalculate" type="text" value="1" name="quantity" maxlength="4" size="3" title="Update Quantity In Cart" onsubmit="check(1this);" onchange="check1(this);" onclick="check1(this);" onblur="check1(this);"></input><input type="hidden" value="cart" name="view"></input><input type="hidden" value="update" name="task"></input><input type="hidden" value="7297" name="cart_virtuemart_product_id"></input><input class="vmicon vm2-add_quantity_cart" type="submit" align="middle" value=" " title="Update Quantity In Cart" name="update"></input></form><a class="vmicon vm2-remove_from_cart" href="/index.php/shopping-cart-5/delete?cart_virtuemart_product_id=7297" align="middle" title="Delete Product From Cart"> ... </a></td>
Title: Re: Update icons in cart showing twice
Post by: Maxim Pishnyak on July 23, 2013, 17:30:45 PM
Quote from: Maxim Pishnyak on July 23, 2013, 16:14:04 PM
First X is the part or 'Update cart' icon.

This is css issue.

Use tool Firebug(check FAQs in this forum section) to identify the way of solving it.
Until you find how to adjust target css file.