X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Has anyone worked with ShareaSale? (https://forum.x-cart.com/showthread.php?t=14065)

parksmike 05-18-2005 07:40 AM

Has anyone worked with ShareaSale?
 
I have a client who has setup an account with ShareaSale. Has anyone else tried this? The cart version is 4.0.13. I have tried to add the ShareaSale code in skin1/customer/main/order_message.tpl under the line:
Code:

{if $active_modules.Interneka ne ""}
{ include file="modules/Interneka/interneka_tags.tpl" }
{/if}

I added the code sent.
Code:

[img]http://portal.mxlogic.com/images/transparent.gif[/img]
But after running a test I get the error:
Code:

Fatal error: Smarty error: [in customer/main/order_message.tpl line 26]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1512) in /home/php1.secure-shopping.com/patington/Smarty-2.6.3/Smarty.class.php on line 1082
When I run it without the code it works normally.

Really I'm not putting much effort into this, basically because I don't normally place nice with marketing companies. But since the client has already spent the money...

But if anyone else has played with this and has a fix for it please let me know.

Thanks,

dpdodson 07-20-2005 02:07 PM

Here's what I've got.
 
Tracking Code details for XCart

X-Cart file to edit:

skin1/customer/main/order_message.tpl
Insert the tracking code:
Where you replace XXXX with your merchant ID number.

Just below the lines:{if $active_modules.Interneka ne ""} { include file="modules/Interneka/interneka_tags.tpl" } {/if}Alternate tracking code instructions for the newer X-cart release:

On line 338 after the closing TABLE tag of skin1/mail/html/order_invoice.tpl Add:
Where you replace XXXX with your merchant ID number.


All times are GMT -8. The time now is 12:01 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.