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

product.tpl & products.tpl on same page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-12-2008, 12:18 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default product.tpl & products.tpl on same page

I haven't tested this, but was wondering if this is possible, or would it cause conflict issues?

Thanks
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #2  
Old 09-12-2008, 03:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: product.tpl & products.tpl on same page

Not sure that is possible, as they use different code to call product items. You'd need to rewrite product.tpl to use the products.tpl code.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-15-2008, 03:31 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: product.tpl & products.tpl on same page

bugger - have you tried it ballinor or are you just pretty sure it won't work?
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #4  
Old 09-15-2008, 03:32 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: product.tpl & products.tpl on same page

I'm pretty sure it won't work - they use different variables.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-16-2008, 12:08 AM
  Piotr M.'s Avatar 
Piotr M. Piotr M. is offline
 

Senior Member
  
Join Date: Aug 2008
Posts: 134
 

Default Re: product.tpl & products.tpl on same page

That's not possible without customizing PHP code.
__________________
Regards,
Piotr Markushin

X-Cart PDF Catalog Generator NEW
Professional X-Cart Skins Store (7 new skins added in August 2008!)

ahedOffice.com - Web 2.0 Online Groupware
Reply With Quote
  #6  
Old 09-16-2008, 12:35 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: product.tpl & products.tpl on same page

OK - so maybe I could achieve the same using another function.

I am looking to place thumbnails of the same category products in 2 or 3 columns down one side of the product display so it is easy to choose another to look at.

Maybe I could use "Bestsellers" or something?

Has anyone done anything similar?
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #7  
Old 09-16-2008, 04:09 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: product.tpl & products.tpl on same page

Why not use the upselling links module? That's exactly what it does
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 09-16-2008, 04:32 AM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: product.tpl & products.tpl on same page

Cool - I'll take a look at upselling links - I've never used them yet

Thanks
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #9  
Old 09-24-2008, 08:59 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: product.tpl & products.tpl on same page

With Upselling links - can you do it category wide rather than for each product?
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #10  
Old 10-06-2008, 03:23 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

Default Re: product.tpl & products.tpl on same page

Quote:
Originally Posted by Tye
With Upselling links - can you upsell a whole category rather than for each product?
Unashamed Bump
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
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 09:53 AM.

   

 
X-Cart forums © 2001-2020