|
$attributes = explode( '|', $product['permutation_hash'] );
foreach ( $attributes as $attribute ):
$attribute_tmp = explode( '-', $attribute );
echo \admin\factory\ShopAttribute::get_attribute_name_by_id( $attribute_tmp[0] ) . ' - ' . \admin\factory\ShopAttribute::get_attribute_value_by_id( $attribute_tmp[1] ) . '';
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' ) } } );">
|
if ( $product['baselinker_product_name'] != "" )
echo "" . substr( $product['baselinker_product_name'], 0, 25 ) . "...";
else
echo "nie przypisano ";
?>
|
|
endforeach; endif;?>