Modify ↓
#1473 closed Bug/Fehler (fixed)
keine Versandkosten (nach Gewicht) im Export für billiger.de
| Reported by: | Owned by: | Torsten Riemer | |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.5.0 |
| Component: | Module | Version: | 2.0.3.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Fehler
Beim CSV-Export für billiger.de werden keine Versandkosten (nach Gewicht) berechnet. Ursache ist der Inkonsistente Wert der Konfiguration:
Geprüft wird:
switch ($_POST['configuration']['MODULE_BILLIGER_SHIPPING_METHOD']) {
case 'price':
if ($pPrice < $shipping_cost_values[$i][0]) {
$return = $shipping_cost_values[$i][1];
}
break;
case 'weight':
if ($pWeight < $shipping_cost_values[$i][0]) {
$return = $shipping_cost_values[$i][1];
}
break;
default: ;
} // switch
Betonung auf: case 'weight':
Und gesetzt wird:
xtc_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_key, configuration_value, configuration_group_id, sort_order, set_function, date_added) values ('MODULE_BILLIGER_SHIPPING_METHOD', 'price', '6', '1', 'xtc_cfg_select_option(array(\'price\', \'weight (kg)\'), ', now())");
Betonung auf: array(\'price\', \'weight (kg)\')
Lösung
das setzten der Variablen auf Zeile 383 anpassen:
xtc_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_key, configuration_value, configuration_group_id, sort_order, set_function, date_added) values ('MODULE_BILLIGER_SHIPPING_METHOD', 'price', '6', '1', 'xtc_cfg_select_option(array(\'price\', \'weight\'), ', now())");
Anschließend das Modul deinstallieren und neu Installieren.
Aufgefallen in der Version 2.0.3.0
Attachments (0)
Change History (5)
comment:1 by , 8 years ago
| Milestone: | → modified-shop-2.0.4.1 |
|---|---|
| Version: | → 2.0.3.0 |
comment:2 by , 8 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:5 by , 7 years ago
| Milestone: | modified-shop-2.0.4.1 → modified-shop-2.0.5.0 |
|---|
Note:
See TracTickets
for help on using tickets.

In 11238: