Opened 10 years ago
Last modified 10 years ago
#639 closed Bug/Fehler
Versandmodule geben keine Fehlermeldung aus — at Initial Version
| 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
includes/classe/shipping.php
function cheapest:
if(array_key_exists("cost",$quotesmethods[$i]) && !isset ($quoteserror[$i]) && !in_array($quotesid,$ignore_cheapest_array)) { web28 ignore shipping modules
EOF - Tomcraft - 2011-02-01 - Paypal Express Modul
$rates[] = array('id' => $quotesid . '_' . $quotesmethods[$i]id,
'title' => $quotesmodule . ' (' . $quotesmethods[$i]title . ')',
'cost' => $quotesmethods[$i]cost);
}
Durch die Abfrage auf
!isset ($quotes['error'][$i])
wird das Versandmodul gar nicht mehr angezeigt, wenn das Moduel 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.
