|
$attributes = explode( '|', $product['permutation_hash'] );
foreach ( $attributes as $attribute ):
$attribute_tmp = explode( '-', $attribute );
echo \shop\ProductAttribute::getAttributeName( (int)$attribute_tmp[0], $this -> default_language ) . ' - ' . \shop\ProductAttribute::get_value_name( (int)$attribute_tmp[1], $this -> default_language ) . '';
if ( $attribute != end( $attributes ) )
echo ', ';
endforeach;
?>
|
|
|
|
onchange="$.ajax({ type: 'POST', cache: false, url: '/admin/shop_product/product_combination_stock_0_buy_save/', data: { product_id: = $product['id'];?>, stock_0_buy: $( this ).is( ':checked' ) } } );">
|
|
endforeach; endif;?>