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)
-   -   Use products_t.tpl in manufacturerinfo.tpl (https://forum.x-cart.com/showthread.php?t=43841)

MattAustin 11-24-2008 02:02 AM

Use products_t.tpl in manufacturerinfo.tpl
 
Hello all,
Could anyone tell me how I could modify manufacturerinfo.tpl to use products_t.tpl to display the products within this section so that it has a consistent look and feel with the products list pages.
I have been trying to do something like the following:

Code:

{include file="customer/main/products_t.tpl" products=$manufacturerinfo.product}

But I am unsure how to pass the correct variables through to make it work

Any help is greatly appreciated

balinor 11-24-2008 02:56 AM

Re: Use products_t.tpl in manufacturerinfo.tpl
 
To my knowledge there isn't a manufacturerinfo.tpl - are you talking about the page you get to when you click on a manufacturer's link?

MattAustin 11-24-2008 03:22 AM

Re: Use products_t.tpl in manufacturerinfo.tpl
 
skin1/modules/manufacturers/manufacturerinfo.tpl

I'm not sure if it is a modification but it shoes you 4 random products by the manufacturer of the product whose product details page you are on

it is mentioned in the following thread:

http://forum.x-cart.com/showthread.php?t=29776&highlight=manufacturerinfo. tpl

Thanks for thr reply incidently.

balinor 11-24-2008 03:28 AM

Re: Use products_t.tpl in manufacturerinfo.tpl
 
Ah, yea, that's a hack so I'd suggest posting in that thread.


All times are GMT -8. The time now is 07:28 PM.

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