implemented cart button
This commit is contained in:
@@ -47,7 +47,8 @@ export function getAdditionalInputs(inContent: string): { [key: string]: string
|
||||
const posturlRaw = inContent.match(/posturl:"(.+?)"/)![1];
|
||||
const posturlRawDecoded = decodeURIComponent(posturlRaw);
|
||||
const posturl = decodeURIComponent(`${posturlRaw}&event=${event}&holdcode=${holdcode}&nocache=0&inclpkg=Y&incloffer=Y&inclcartdetails=Y&inclCart=Y&inclvenue=Y`);
|
||||
const venueLocation = getVenueLocation()
|
||||
const venueLocation = getVenueLocation();
|
||||
const ticketPurchaseUrl = `${posturlRawDecoded.split("?")[0].split('/').slice(0,-1).join('/')}/TicketPurchase`;
|
||||
|
||||
return {
|
||||
"event": event,
|
||||
@@ -55,7 +56,8 @@ export function getAdditionalInputs(inContent: string): { [key: string]: string
|
||||
"posturlRaw": posturlRaw,
|
||||
"posturlRawDecoded": posturlRawDecoded,
|
||||
"posturl": posturl,
|
||||
"venueLocation": venueLocation
|
||||
"venueLocation": venueLocation,
|
||||
"ticketPurchaseUrl": ticketPurchaseUrl
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user