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/changeqty.tpl

19 lines
483 B
Smarty
Raw Normal View History

2009-08-03 04:10:16 +00:00
{$method->exe('cart','changeqty')}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{if $js}
2009-08-03 04:10:16 +00:00
<script type="text/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}
2009-08-03 04:10:16 +00:00
no javascript
{/if}
2009-08-03 04:10:16 +00:00
{/if}