Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Has anyone worked with ShareaSale?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-18-2005, 07:40 AM
 
parksmike parksmike is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 77
 

Default 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,
__________________
<><><><><><><><><><><><>
Mike Parks
X-Cart: 4.1.x
Captain Jack Communications
Reply With Quote
  #2  
Old 07-20-2005, 02:07 PM
 
dpdodson dpdodson is offline
 

Member
  
Join Date: Feb 2003
Posts: 10
 

Default 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.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:49 AM.

   

 
X-Cart forums © 2001-2020