Hi Michael,
Please give us a public link, this should be working.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi Michael,
Please give us a public link, this should be working.
Hi Katya,
here is the link Login and pass "a" the app is shared "star pizza"
to send email click checkout from vegetarian pizza screen and click order button at bottom to send email, you will need to add an email address in the input
this is the code for the email content I have used below
cheers
Michael,
If you need to display an array in a usual view then you can process it as you want. For example display parameter 'Base' in console (then you can do what you need):precodevar arr = JSON.parse(liveorderArray);
$(arr).each(function(e){
console.log("Base = " + arr[e].Base + "\n");
});/code/pre
Katya,
sorry I dont follow, where do I use this code?
Hi Michael,
You should paste it instead:prevar liveorderArray = localStorage.getItem("liveorderArray") + "\n";/pre
codeconsole.log()/codewas only an example. You can output data as you want. If there are any difficulties you can send us a text you want to get as a result.
Hi Katya,
from the array I would like it to appear in the email like the example below
"[{"Pizza":"Margarita","Size":"Twelve Inch Stuffed Crust","Base":"Deep Base","Price":"6.50"},{"Pizza":"Hot Vegetarian","Size":"Twelve Inch","Base":"Deep Base","Price":"6.00"}]"
example
Pizza : Margarita , Size : Twelve Inch Stuffed Crust , Base : Deep Base , Price :6.50 Pizza : Hot Vegetarian , Size : Twelve Inch , Base : Deep Base , Price : 6.00
Michael,
Would you like it to appear this way?prevar liveorderArray = localStorage.getItem("liveorderArray");
liveorderArray .replace(/[[]{}]/gi,"").replace(/"/gi," ").replace(/ ,/gi,",");/pre
Sorry, there was a typo, please replacepreliveorderArray .replace/prewithpreliveorderArray.replace/pre