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

Add to cart and products.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-06-2008, 05:12 AM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Add to cart and products.tpl

Hi
can anyone tell me the reason behind the two different methods of adding a product to the cart?

E.g. in the thumbnailed product list it is a .tpl file that adds the product to the cart, but in product.tpl it is heavily coded.

Am i missing something or can I cut that code out and add inthe .tpl file?
Cheers
Peter
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote
  #2  
Old 05-06-2008, 12:40 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Re: Add to cart and products.tpl

Duh!

OK Now I am awake I see why..
It would have been better to put it in its own tempate though.
__________________
Peter
"http://www.memoryoverload.com"

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 03:27 PM.

   

 
X-Cart forums © 2001-2020