Ich habe mein Geschäft in der letzten Version 1.9.2.4 aktualisiert und habe ssl aktivieren, danach hat meine Löschtaste aus dem Warenkorb funktioniert nicht mehr. Ich sehe diesen Fehler in Firebug:Magento - Warenkorb Artikel löschen funktioniert nicht
ReferenceError: coShippingMethodForm is not defined
coShippingMethodForm.submit = function() { at line 655
Zu dieser Linie habe ich diese Funktion:
function getQuote() {
$jq('#shipping-zip-form').attr('id','shipping-zip-form-ajax');
var coShippingMethodFormAjax = new VarienForm('shipping-zip-form-ajax');
**THIS IS THE LINE 655** coShippingMethodForm.submit = function() {
var country = $F('country');
var optionalZip = false;
for (i=0; i < countriesWithOptionalZip.length; i++) {
if (countriesWithOptionalZip[i] == country) {
optionalZip = true;
}
}
if (optionalZip) {
$('postcode').removeClassName('required-entry');
}
else {
$('postcode').addClassName('required-entry');
}
if (this.validator.validate()) {
this.form.submit();
}
console.log(countriesWithOptionalZip.length);
}.bind(coShippingMethodFormAjax);
}
Wie ich dieses Problem lösen kann?
Danke
können Sie bitte Dateipfad und Name angeben? –
Hallo, Dateipfad ist: https://example.com/checkout/cart/delete/id/20383/form_key/e4W4gZZybGSWxqC1/uenc/aHR0cHM6Ly9udXRyaWphLmNvbS9jaGVja291dC9jYXJ0/form_key/e4W4gZZybGSWxqC1 und der Name? Welchen Namen brauchst du? – Robert
Ich brauche den Dateinamen und seinen Pfad, wo Sie diesen Fehler bekommen –