Restricting sales of new GCs in TNEW

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? 

Parents Reply Children
  • I have a hack that I just had to reuse this morning myself (fingers crossed no one sees this message and replies to tell me that I'm endangering my website and innocent puppies by using it).

    This won't disable a page or do anything for search results, but it'll force a redirect to whatever you want if someone does load the page you don't want them on. They won't have an opportunity to build the gift card. I tend to drop it into the source code of one of the top HTML enabled fields you can edit in TNEW Admin.

    <meta http-equiv="Refresh" content="0; url='your url here'" />

    (And now hoping that got entered right here; we'll see after I hit the reply button.)

  • Jamie, thanks for this tip - which field in TNEW Admin do you put this in?

  • 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!