This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/cart/admin_changeqty.tpl
2008-11-26 14:50:40 -08:00

17 lines
476 B
Smarty

{$method->exe("cart","admin_changeqty")}
{if ($method->result == FALSE)}
{$block->display("core:method_error")}
{else}
{if $js}
<script language="javascript">
var base = '{$list->format_currency_num($base, $smarty.const.SESS_CURRENCY)}';
var setup = '{$list->format_currency_num($setup, $smarty.const.SESS_CURRENCY)}';
var qty = '{$qty}';
window.parent.updatePrice('{$VAR.id}',base,setup,qty);
</script>
javascript
{else}
no javascript
{/if}
{/if}