Jump to content

Edit History

BlackCrow

BlackCrow

rictools hat recht.

Ich habe die neue Version 1.7.8.1 auf Github durchgesehen, bzw bekannte und gelöste Probleme die in der neuen Version behoben werden.

Darunter findet man folgenden Issue:

https://github.com/PrestaShop/PrestaShop/pull/26289

... Dein angesprochener Fehler.

 

Bis die Version 1.7.8.1 veröffentlich wird sollte dieser fix helfen:

Quote

As a simple solution, I changed in the theme file in templates/checkout/partials/steps/payment.tpl
Search 🔎 disabled
Change to enabled

 

Öffne folgende Datei: themes/DEIN_TEMPLATE/templates/checkout/partials/steps/payment.tpl

suche nach folgender Zeile:

<button type="submit" {if !$selected_payment_option} disabled {/if} class="btn btn-primary center-block">

und ändere diese durch folgende:

<button type="submit" {if !$selected_payment_option} enabled {/if} class="btn btn-primary center-block">

Aber Achtung:

Quote

I removed the conditional rendering "{if !$selected_payment_option} disabled {/if}". But it's not the solution in the js core that should come in the next update, it's just disabling one verification :)

.. Und nach dem Upgrade dann auf 1.7.8.1 wieder zum ursprünglichen ändern.

--------

Der korrekte fix wäre allerdings:

https://github.com/PrestaShop/PrestaShop/pull/26289/files

(wobei dies in der compressed core.js anders aussieht).

 

 

[Edit] Habe eben gesehen dass es wohl noch eine bessere temporäre Lösung gibt:

Quote

Hello,
It's quite a break as Customers can not place order anymore.
As a workaround, I edited my theme template in order to get the button active again

<button type="submit" {if !$selected_payment_option} disabled {/if} class="btn btn-primary center-block btn-general-bg btn-general-color"> {l s='Order with an obligation to pay' d='Shop.Theme.Checkout'} </button>

is now :
<button type="submit" class="btn btn-primary center-block btn-general-bg btn-general-color {if !$selected_payment_option}disabled{/if}"> {l s='Order with an obligation to pay' d='Shop.Theme.Checkout'} </button>

https://github.com/PrestaShop/PrestaShop/pull/18904#issuecomment-944348444

BlackCrow

BlackCrow

rictools hat recht.

Ich habe die neue Version 1.7.8.1 auf Github durchgesehen, bzw bekannte und gelöste Probleme die in der neuen Version behoben werden.

Darunter findet man folgenden Issue:

https://github.com/PrestaShop/PrestaShop/pull/26289

... Dein angesprochener Fehler.

 

Bis die Version 1.7.8.1 veröffentlich wird sollte dieser fix helfen:

Quote

As a simple solution, I changed in the theme file in templates/checkout/partials/steps/payment.tpl
Search 🔎 disabled
Change to enabled

 

Öffne folgende Datei: themes/DEIN_TEMPLATE/templates/checkout/partials/steps/payment.tpl

suche nach folgender Zeile:

<button type="submit" {if !$selected_payment_option} disabled {/if} class="btn btn-primary center-block">

und ändere diese durch folgende:

<button type="submit" {if !$selected_payment_option} enabled {/if} class="btn btn-primary center-block">

Aber Achtung:

Quote

I removed the conditional rendering "{if !$selected_payment_option} disabled {/if}". But it's not the solution in the js core that should come in the next update, it's just disabling one verification :)

.. Und nach dem Upgrade dann auf 1.7.8.1 wieder zum ursprünglichen ändern.

--------

Der korrekte fix wäre allerdings:

https://github.com/PrestaShop/PrestaShop/pull/26289/files

(wobei dies in der compressed core.js anders aussieht).

 

 

×
×
  • Create New...