Re: 'Add to Cart' Alert Message
I followed all the instructions, patched the DB with the included SQL queries, added all the code, switched back to the default skin just to make sure, even though the skin i'm using still uses service_head.tpl. Here is what my service_head.tpl looks like
{*
$Id: service_head.tpl,v 1.1 2010/05/21 08:32:02 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{get_title page_type=$meta_page_type page_id=$meta_page_id}
{include file="customer/meta.tpl"}
{include file="customer/service_js.tpl"}
{include file="customer/service_css.tpl"}
{if $canonical_url}
<link rel="canonical" href="{$current_location}/{$canonical_url}" />
{/if}
{if $config.SEO.clean_urls_enabled eq "Y"}
<base href="{$catalogs.customer}/" />
{/if}
{if $main eq "product" || $main eq "search" || $main eq "products" || $main eq "catalog"}
<link type="text/css" rel="stylesheet" href="{$SkinDir}/modules/Cart_Alert/css/shadowbox.css" />
<script type="text/javascript" src="{$SkinDir}/modules/Cart_Alert/shadowbox.js"></script>
{include file="modules/Cart_Alert/cart_alert.tpl"}
{/if}
{load_defer_code type="css"}
{load_defer_code type="js"}
and again the debugger error I get in firebug is:
window["Cart_Alert_Product_" + this.productid] is not a function
Line 383
I hope I don't seem like a complete idiot, I am new to xcart and smarty, but the instructions are PAINFULLY simple and I have followed them, any ideas?
__________________
version 4.4.3
X-payments
sales and stats
|