Hi,
In components/com_virtuemart/views/cart/tmpl/default_pricelist.php line 173
$i = 1 ? 2 : 1;
I believe was meant to be
$i = $i==1 ? 2 : 1;
Hi, it is a error?
ver. 2.0.22a
Line ~203
onsubmit="check(<?php echo $step?>this);"
<form action="<?php echo JRoute::_ ('index.php'); ?>" method="post" class="inline">
<input type="hidden" name="option" value="com_virtuemart"/>
<!--<input type="text" title="<?php echo JText::_('COM_VIRTUEMART_CART_UPDATE') ?>" class="inputbox" size="3" maxlength="4" name="quantity" value="<?php echo $prow->quantity ?>" /> -->
<input type="text"
onblur="check<?php echo $step?>(this);"
onclick="check<?php echo $step?>(this);"
onchange="check<?php echo $step?>(this);"
→→→→onsubmit="check(<?php echo $step?>this);"
title="<?php echo JText::_('COM_VIRTUEMART_CART_UPDATE') ?>"
class="quantity-input js-recalculate" size="3" maxlength="4" name="quantity" value="<?php echo $prow->quantity ?>" />
<input type="hidden" name="view" value="cart"/>
<input type="hidden" name="task" value="update"/>
<input type="hidden" name="cart_virtuemart_product_id" value="<?php echo $prow->cart_item_id ?>"/>
<input type="submit" class="vmicon vm2-add_quantity_cart" name="update" title="<?php echo JText::_ ('COM_VIRTUEMART_CART_UPDATE') ?>" align="middle" value=" "/>
</form>
good=
<form action="<?php echo JRoute::_ ('index.php'); ?>" method="post" class="inline">
<input type="hidden" name="option" value="com_virtuemart"/>
<!--<input type="text" title="<?php echo JText::_('COM_VIRTUEMART_CART_UPDATE') ?>" class="inputbox" size="3" maxlength="4" name="quantity" value="<?php echo $prow->quantity ?>" /> -->
<input type="text"
onblur="check<?php echo $step?>(this);"
onclick="check<?php echo $step?>(this);"
onchange="check<?php echo $step?>(this);"
→→→→onsubmit="check<?php echo $step?>(this);"
title="<?php echo JText::_('COM_VIRTUEMART_CART_UPDATE') ?>"
class="quantity-input js-recalculate" size="3" maxlength="4" name="quantity" value="<?php echo $prow->quantity ?>" />
<input type="hidden" name="view" value="cart"/>
<input type="hidden" name="task" value="update"/>
<input type="hidden" name="cart_virtuemart_product_id" value="<?php echo $prow->cart_item_id ?>"/>
<input type="submit" class="vmicon vm2-add_quantity_cart" name="update" title="<?php echo JText::_ ('COM_VIRTUEMART_CART_UPDATE') ?>" align="middle" value=" "/>
</form>
Thz
regards
Hmmm, the thread was for 2.0.3.G
But
onblur="check<?php echo $step?>(this);"
onclick="check<?php echo $step?>(this);"
onchange="check<?php echo $step?>(this);"
onsubmit="check(<?php echo $step?>this);"
Looks indeed wrong, but what should check1(this), or check2(this) do?. This is in any case wrong, yes onsubmit="check(<?php echo $step?>this);" [/code]