Modify

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1473 closed Bug/Fehler (fixed)

keine Versandkosten (nach Gewicht) im Export für billiger.de

Reported by: mail@… 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 Torsten Riemer, 8 years ago

Milestone: modified-shop-2.0.4.1
Version: 2.0.3.0

comment:2 by Torsten Riemer, 8 years ago

Owner: set to Torsten Riemer
Resolution: fixed
Status: newclosed

In 11238:

fix #1473

comment:3 by Torsten Riemer, 8 years ago

In 11239:

fix #1473

comment:4 by Torsten Riemer, 8 years ago

In 11240:

fix #1473

comment:5 by Torsten Riemer, 7 years ago

Milestone: modified-shop-2.0.4.1modified-shop-2.0.5.0

Modify Ticket

Action
as closed The owner will remain Torsten Riemer.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.