Home :: Support :: Knowledgebase :: Software :: Support (software) :: How do I display linked knowledgebase articles to my X-Cart products?...

How do I display linked knowledgebase articles to my X-Cart products?

Created: Apr 10, 2012 03:19 PM
Last Modified: Apr 10, 2012 03:19 PM
To display linked knowledgebase articles on your X-Cart products page make the following edits to your X-Cart files:

1.  product.php

Near the very end of the file find this line of code:

func_display("customer/home.tpl",$smarty);


Immediately before insert:

// Gahela Support :: www.gahela.com //
if ($active_modules['Gahela_Support']){
require
$xcart_dir.'/support/hosts/xcart/support-dynamic-product.php';
}
// End Gahela Support //


2.  customer/main/product.tpl

Insert the following code near the end of this file.  It can be placed where every you wish the knowledgebase articles to display on your product pages.

{*** Gahela Support :: www.gahela.com ***}
{if
$active_modules.Gahela_Support}
{include
file="support/related-kb-articles.tpl"}
{/if}
{***
End www.gahela.com ***}

Still Have Questions?

If you are unable to find a solution in the knowledgebase please open a support ticket for a personal response from the support desk.

Rate or comment on this article

Rate This Article (Select a star)

Select Rating  
Change rating to 1 Change rating to 2 Change rating to 3 Change rating to 4 Change rating to 5

Add Comment

Name:
Email:
Website: (Optional)
Gahela
Text
BBCode
HTML
Expand
Bold Italic Underline Strikethrough Align left Align center Align right Numbers Bullets Indent Outdent
Code
PHP
JavaScript
CSS
HTML
Link :)
happy-big-smile.png
alien.png
angry.png
bomb.png
eye-roll.png
pink-heart.png
kiss.png
happy-eyes-closed.png
happy-shades.png
happy-teeth.png
happy-vampire.png
lips.png
tongue-out.png
smile.png
surprise.png
Comments are moderated and require approval before they are available for all users to view.