Opened 10 years ago
Last modified 10 years ago
#639 closed Bug/Fehler
Versandmodule geben keine Fehlermeldung aus — at Version 2
| Reported by: | Ronald Parcinski | Owned by: | |
|---|---|---|---|
| Priority: | hoch | Milestone: | modified-shop-2.0.0.0 |
| Component: | Module | Version: | 2.0.0.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description (last modified by )
includes/classe/shipping.php
function cheapest:
if(array_key_exists("cost",$quotes['methods'][$i]) && !isset ($quotes['error'][$i]) && !in_array($quotes['id'],$ignore_cheapest_array)) { //web28 ignore shipping modules
// EOF - Tomcraft - 2011-02-01 - Paypal Express Modul
$rates[] = array('id' => $quotes['id'] . '_' . $quotes['methods'][$i]['id'],
'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')',
'cost' => $quotes['methods'][$i]['cost']);
// echo $quotes['methods'][$i]['cost'];
}
Durch die Abfrage auf
!isset ($quotes['error'][$i])
wird das Versandmodul gar nicht mehr angezeigt, wenn das Modul einen Fehlertext erzeugt. Ich weiss nicht ob das im Sinne des Erfinders ist. Wenn ein Fehlertext erzeugt wird, (z.B. "Diese Versandart bieten wir nur bis 30 EUR Warenwert an") dann sollte das auch so angezeigt werden.
Diese Abfrage kam erst mit dem PayPal Express Code.
Change History (2)
comment:1 by , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.
