mirror of
https://github.com/pretix/pretix.git
synced 2026-08-28 13:34:40 +00:00
Widget: Fix voucher code argument
This commit is contained in:
@@ -644,8 +644,8 @@ var shared_root_methods = {
|
|||||||
url = this.$root.event_url + 'widget/product_list?lang=' + lang;
|
url = this.$root.event_url + 'widget/product_list?lang=' + lang;
|
||||||
}
|
}
|
||||||
var cart_id = getCookie(this.cookieName);
|
var cart_id = getCookie(this.cookieName);
|
||||||
if (this.$root.voucher) {
|
if (this.$root.voucher_code) {
|
||||||
url += '&voucher=' + escape(this.$root.voucher);
|
url += '&voucher=' + escape(this.$root.voucher_code);
|
||||||
}
|
}
|
||||||
if (cart_id) {
|
if (cart_id) {
|
||||||
url += "&cart_id=" + cart_id;
|
url += "&cart_id=" + cart_id;
|
||||||
|
|||||||
Reference in New Issue
Block a user