first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
sfLoader::loadHelpers(array('stProduct'), 'stProduct');
|
||||
|
||||
$cache = new stFunctionCache('stTax');
|
||||
|
||||
$tax_info = $cache->cacheCall('_object_product_tax_helper');
|
||||
|
||||
st_price_tax_managment_init(array(
|
||||
'taxField' => 'group_price_tax_id',
|
||||
'taxValues' => $tax_info['values'],
|
||||
'priceFields' => array(
|
||||
array('price' => 'group_price_price_netto', 'priceWithTax' => 'group_price_price_brutto'),
|
||||
array('price' => 'group_price_old_price_netto', 'priceWithTax' => 'group_price_old_price_brutto'),
|
||||
|
||||
)));
|
||||
|
||||
echo select_tag('group_price[tax_id]', options_for_select($tax_info['names'], $group_price->getTaxId() ? $group_price->getTaxId() : $tax_info['default']));
|
||||
Reference in New Issue
Block a user