Skip to content

Commit

Permalink
Merge pull request #117 from shopbetreuung/bugfixes
Browse files Browse the repository at this point in the history
fix: edit products attributes
  • Loading branch information
php-schubser authored Jan 13, 2022
2 parents 6f30ba7 + 7c1f59a commit c525cd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/includes/modules/products_attributes_values.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
ORDER BY pd.products_name"
);
if (xtc_db_num_rows($products)) {
//Produkt zugeordnet - Warnung - Optionswert kann nicht gelöscht werden
//Produkt zugeordnet - Warnung - Optionswert kann nicht gelöscht werden
?>
<table class='table table-bordered'>
<tr class="dataTableHeadingRow">
Expand Down Expand Up @@ -186,7 +186,7 @@
</table>
<?php
} else {
//Produkt nicht zugeordnet - Ok - Optionswert kann gelöscht werden
//Produkt nicht zugeordnet - Ok - Optionswert kann gelöscht werden
?>
<div class='col-xs-12'>
<div style="margin:10px 0;">
Expand Down Expand Up @@ -305,7 +305,7 @@
<td align="center" class="smallText">&nbsp;<?php echo $options_name; ?>&nbsp;</td>
<td class="smallText">&nbsp;<?php echo $values_name; ?>&nbsp;</td>
<td align="center" class="smallText">
<?php echo xtc_button_link(BUTTON_EDIT, xtc_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=update_option_value&value_id=' . $values_values['products_options_values_id'] . '&value_page=' . $_GET['value_page'].$option_id, 'NONSSL'));
<?php echo xtc_button_link(BUTTON_EDIT, xtc_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=update_option_value&value_id=' . $values_values['products_options_values_id'] . ((isset($_GET['search_optionsname'])) ? '&search_optionsname=' . $_GET['search_optionsname'] : '') . '&value_page=' . $_GET['value_page'].$option_id, 'NONSSL'));
//BOF - webkiste - auf der selben Seite bleiben
echo xtc_button_link(BUTTON_DELETE, xtc_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'action=delete_option_value&value_id=' . $values_values['products_options_values_id'] . '&value_page=' . $_GET['value_page'], 'NONSSL'));
//EOF - webkiste - auf der selben Seite bleiben
Expand All @@ -323,4 +323,4 @@
// ############ EOF DEFAULT ############ //
}
?>
<!-- option value eof //-->
<!-- option value eof //-->

0 comments on commit c525cd2

Please sign in to comment.