| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
'Add to Cart' Alert Message | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Quote:
Is it possible for 4.1.x version also?
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#13
|
|||||||
|
|||||||
![]() Quote:
What is the default value of the Buy Now button that you refer to. I have edited mine as well, and I believe that is why I can't get this mod working. Is it originally just "Add To Cart"? Also, could I change this value elsewhere to make it work with my buy it now button?
__________________
version 4.4.3 X-payments sales and stats |
|||||||
#15
|
|||||||
|
|||||||
![]() I followed all the instructions, but when I add an item to the cart firebug trips on this error:
window["Cart_Alert_Product_" + this.productid] is not a function Line 383
__________________
version 4.4.3 X-payments sales and stats |
|||||||
#16
|
|||||||
|
|||||||
![]() I think I may have an idea as to what is going on. It looks like cart_alert.tpl isn't getting loaded. I have a feeling this is because I have xcart installed in a subdirectory. How can I change the include to make it call my subdirectory?
__________________
version 4.4.3 X-payments sales and stats |
|||||||
#17
|
|||||||
|
|||||||
![]() Man I just don't get it, I'm not dumb and I followed the instructions to a Tee. Either the instructions are not written correctly, or they are just plain wrong. For some reason the include isn't happening, anyone who could help me with this it would be greatly appreciated.
__________________
version 4.4.3 X-payments sales and stats |
|||||||
#18
|
|||||||
|
|||||||
![]() Having the store in a subdir should not affect the mod in anyway.
Try running cleanup.php afterwards. If you are using an alternative skin, check that you have added the code in step 3 to the correct file.
__________________
xcartmods.co.uk |
|||||||
#19
|
|||||||
|
|||||||
![]() 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 |
|||||||
#20
|
|||||||
|
|||||||
![]() Add the code after..
{load_defer_code type="css"} {load_defer_code type="js"}
__________________
xcartmods.co.uk |
|||||||
|
|||
X-Cart forums © 2001-2020
|