Skip to content
GitLab
Erkunden
Anmelden
Registrieren
Primärnavigation
Suchen oder aufrufen …
Projekt
Order Simple Checkout
Verwalten
Aktivität
Mitglieder
Labels
Planen
Tickets
5
Ticketübersichten
Meilensteine
Wiki
Code
Merge Requests
0
Repository
Branch
Commits
Tags
Repository-Diagramm
Revisionen vergleichen
Code-Schnipsel
Build
Pipelines
Aufgaben
Pipeline-Zeitpläne
Artefakte
Bereitstellung
Releases
Paket-Registry
Betreiben
Umgebungen
Terraform-Module
Überwachen
Vorfälle
Service-Desk
Analysieren
Wertschöpfungskettenanalyse
Mitwirkenden-Analyse
CI/CD-Analyse
Repository-Analysen
Hilfe
Hilfe
Support
GitLab-Dokumentation
GitLab-Pläne vergleichen
Community-Forum
Zu GitLab beitragen
Feedback geben
Tastenkürzel
?
Code-Schnipsel
Gruppen
Projekte
Show more breadcrumbs
QUIQQER
Order Simple Checkout
Commits
f0db6090
Bestätigt
Commit
f0db6090
erstellt
vor 1 Jahr
von
Henning Leutz
Dateien durchsuchen
Optionen
Downloads
Patches
Einfaches Diff
fix: consider currency change
Übergeordneter
51bcb4f7
No related branches found
No related tags found
2 Merge Requests
!7
feat: article list in basket designed
,
!5
feat: article list in basket designed
Änderungen
1
Leerzeichenänderungen ausblenden
Inline
Nebeneinander
1 geänderte Datei
bin/frontend/controls/SimpleCheckout.js
+16
-12
16 Ergänzungen, 12 Löschungen
bin/frontend/controls/SimpleCheckout.js
wird angezeigt
mit
16 Ergänzungen
und
12 Löschungen
bin/frontend/controls/SimpleCheckout.js
+
16
−
12
Zeige Datei @
f0db6090
...
...
@@ -12,7 +12,7 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
return
new
Class
({
Extends
:
QUIControl
,
Type
:
'
package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleCheckout
'
,
Type
:
'
package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleCheckout
'
,
Binds
:
[
'
update
'
,
...
...
@@ -29,13 +29,17 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
this
.
$Delivery
=
null
;
this
.
$Shipping
=
null
;
this
.
$Payment
=
null
;
this
.
Loader
=
null
;
this
.
$Payment
=
null
;
this
.
Loader
=
null
;
this
.
addEvents
({
onImport
:
this
.
$onImport
,
onInject
:
this
.
$onInject
});
QUI
.
addEvent
(
'
onQuiqqerCurrencyChange
'
,
(
Instance
,
curr
)
=>
{
this
.
setCurrency
(
curr
.
code
);
});
},
$onImport
:
function
()
{
...
...
@@ -56,8 +60,8 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
],
(
LoginWindow
)
=>
{
new
LoginWindow
({
redirect
:
false
,
reload
:
false
,
events
:
{
reload
:
false
,
events
:
{
onSuccess
:
()
=>
{
window
.
location
.
reload
();
}
...
...
@@ -71,8 +75,8 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
if
(
LoginNode
)
{
require
([
'
package/quiqqer/frontend-users/bin/frontend/controls/login/Login
'
],
(
Login
)
=>
{
new
Login
({
redirect
:
false
,
reload
:
false
,
redirect
:
false
,
reload
:
false
,
onSuccess
:
()
=>
{
this
.
getElm
().
setStyle
(
'
minHeight
'
,
this
.
getElm
().
getSize
().
y
);
this
.
Loader
.
show
();
...
...
@@ -94,7 +98,7 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
]).
then
((
instances
)
=>
{
this
.
$Delivery
=
instances
[
0
];
this
.
$Shipping
=
instances
[
1
];
this
.
$Payment
=
instances
[
2
];
this
.
$Payment
=
instances
[
2
];
if
(
!
this
.
$Delivery
&&
!
this
.
$Shipping
&&
!
this
.
$Payment
)
{
this
.
Loader
.
hide
();
...
...
@@ -190,8 +194,8 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
},
{
'
package
'
:
'
quiqqer/order-simple-checkout
'
,
products
:
JSON
.
encode
(
this
.
getAttribute
(
'
products
'
)),
onError
:
reject
products
:
JSON
.
encode
(
this
.
getAttribute
(
'
products
'
)),
onError
:
reject
}
);
});
...
...
@@ -234,9 +238,9 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
return
new
Promise
((
resolve
,
reject
)
=>
{
QUIAjax
.
post
(
'
package_quiqqer_order-simple-checkout_ajax_frontend_setCurrency
'
,
resolve
,
{
'
package
'
:
'
quiqqer/order-simple-checkout
'
,
currency
:
currency
,
currency
:
currency
,
orderHash
:
this
.
getAttribute
(
'
orderHash
'
),
onError
:
reject
onError
:
reject
});
}).
then
(()
=>
{
return
this
.
$refreshBasket
();
...
...
This diff is collapsed.
Zum Erweitern klicken.
Vorschau
0%
Wiederholen
oder
Neue Datei anhängen
.
Abbrechen
You are about to add
0
people
to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Kommentar speichern
Abbrechen
Bitte
registrieren
oder
Anmelden
zum Kommentieren