Hi,
I know there must be a way to use a TV for this.
"Chunk A" is a bit of google checkout code for a payment button for items priced at $17.
"Chunk B" is the same thing but its priced at $19.00
She only sells one item at a time, and they will always be either Price A or Price B.
So I’d like to be able to let her log in, and somehow very very easily select which payment button should appear. Maybe even do it within QuickEdit if thats possible.
Any thoughts?
Thanks!
John
Create a TV with the type ’Listbox (Single-Select)’
Fill in the ’Input Option Values’: with the names of your chunks e.g. {{chunk1}}||{{chunk2}} - notice the double pipe between them
Make sure you check the ’Template Access’ for the template you’re using
That should give the client the choice of selecting either chunk for display using edit in the Manager or via QuickEdit from preview or the front end.
Happy to help and I’m glad it worked for you.
or you could do the same using the @CHUNK variable like this:
titleofmenuitem==@CHUNK chunk1||titleofmenuitem2==@CHUNK chunk2