We no longer want to sell gift certificates, but are still obligated to honor certificates that have already been sold. I can see how to make changes to the page in the Product Type Editor and Product Editor, but not how to turn the page off entirely. We don't link to it from anywhere else on our site, but a simple google search will still turn it up and someone did buy a GC this way over the holidays. The only other option I could think of was to inactivate the payment method in Tessitura, but that would make it so we cant redeem any of the already issued GCs. Can anyone tell me how to disable just the page for purchasing new GCs, without preventing old ones being used?
Erin Murillas,
In your TNEW admin, what you can do is go to the Product Editor, select "Gift Certificate Class" and then select the Gift Certificate that is on that page. Then in one of the fields, and I just tested this out myself using "Additional Instructional Text", uncheck "Inherited Value". Then open that up, hit the "Source" button in the editor and paste the below:
<p>Testing</p> <script>location.href = "https://carolinaperformingarts.org/"</script>
Save it, clear the cache, and that should take care of it for you.
That solved it at last, thank you so much for the hack!
Not a problem, glad to assist! And yeah, JavaScript can be your friend when you have something really wonky you need done.
Thank you one and all for your help! I've submitted "be able to inactivate the TNEW GC page and/or forms" on the Ideas board, so hopefully the next time this comes up for someone, there will be a much simpler solution!
Don't forget you can vote on your own ideas!
I'm adding it to a new spot right now, so here's a real world screen shot:
I can't say this definitively, but you can do something like this in most any of these field types--anything that you can click into the source view, you can add some code. I use it for some custom css too. It's not something to get carried away with, but it's viable when you don't have any other access to elements that you really have to do something about.
For those in the know and wondering why I'm not just disabling this particular page, it's because we're using the digital content feature, but not in a way that the listing page for digital content looks right. They're a package deal in terms of being enabled or disabled, so this is my hack to at least making the page content "hidden".
Thanks Jamie, bookmarking this for the future!