Jump to content

Adding gift certificates to category listings Rate Topic   - - - - -

 
  • johnny_n
  • Junior Member
  • Members
  • Join Date: 26-Apr 11
  • 19 posts

Posted 22 May 2011 - 04:19 AM #1

There's an older threat on this, which I just realized is in the wrong place to get a reply.

http://forum.cs-cart...read.php?t=5103

Basically, I want to add Gift Certificates to my sidebar category listing -- it would be a bonus to list under the main column listing as well.

thanks!
john.

 

Posted 23 May 2011 - 06:47 AM #2

Hello John,

Please contact us via Customer Help Desk.

---
CS-Cart support team
Anastasiya Kozlova

 
  • EnvyUs
  • Junior Member
  • Members
  • Join Date: 16-Nov 10
  • 5 posts

Posted 25 May 2012 - 04:58 AM #3

I just got thsi to work with 2.2;

In my case, i neede to change the skins/YOUR_SKIN/customer/blocks/catergories_text_links.tpl - below the for loop add
{if $addons.gift_certificates.status == 'A'}
    <li><a href="{"gift_certificates.add"|fn_url}">{$lang.gift_certificates}</a></li>
{/if}

You may need to change this under skins/YOUR_SKIN/customer/views/catergories/components/menu_items.tpl to get it to work with your set-up.

Hope that helps anyone else who falls upon this post too,

Cheers,
Alex

 
  • mizzer
  • Newbie
  • Members
  • Join Date: 17-Sep 11
  • 5 posts

Posted 02 November 2012 - 06:13 PM #4

Thanks EnyUs, that works. Only thing to note is depends on how your menu block is setup, the actual template might be different. For my site it is using "categories_emenu.tpl"

Find yours by going to

Admin->Design->Blocks->left column

and seeing what the appearance is. Mine says Appearance: blocks/categories_emenu.tpl