Hello Guys, i need to add 2 custom COLUMNs with 2 buttons with different links ... I need just button with href="#id_product..." . Can you please help me how?
I need link with ID product for example:
https://page.com/adminer/...../ID_PRODUCT/...
I need it as a shortcut to MYSQL querry trigger for OFF/ON product for backorder.
OR: Another solution is, i need to help how can i add define variable -> ID_PRODUCT here in this function:
public static function my_visibility_function($my_visibility_function)
{
if ($my_visibility_function == 'both')
return '<span style="background-color : #0b9819; color : #ffffff; border-radius : 4px/4px; padding: 2px 3px 2px 3px;"> Dostupné '.$id_product.'</span>HERE WILL BE PRODUCT_ID';
elseif ($my_visibility_function == 'catalog')
return '<span style="background-color : #009adf; color : #ffffff; border-radius : 4px/4px; padding: 2px 3px 2px 3px;"> katalóg </span>';
elseif ($my_visibility_function == 'search')
return '<span style="background-color : #0020df; color : #ffffff; border-radius : 4px/4px; padding: 2px 3px 2px 3px;"> vyhľadávanie </span>';
else
return '<span style="background-color : #6c6c6c; color : #ffffff; border-radius : 4px/4px; padding: 2px 3px 2px 3px;"> Vypredané </span>';
}
Appreciate ♥