| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Displaying Manufacturer Details | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I've been racking my brain on how to display more than just the manufacturer's name in the product details page. I would like to display URL of the manufacturer for starters. It would also be nice to know how to display the other fields as well onto the product details page.
Please help....and thank you in advance.
__________________
Albino D. Matesic -------------------- x-cart version 4.3.2 |
|||||||
#2
|
|||||||
|
|||||||
![]() In product.php I added the following code.
Code:
I would think since i hard coded the query i would pull at least one record and assign the m_url variable with something I know exists. Then in product_details.php i added Code:
However nothing shows up. This comes back to my original question how can i show the proper manufacturer url for the corresponding product. I've been searching and reading up and nothing seems to be working. What am i doing wrong? thanks, al
__________________
Albino D. Matesic -------------------- x-cart version 4.3.2 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() {$m_url }.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
![]() I'm sorry I have that in my code...
{ $m_url }
__________________
Albino D. Matesic -------------------- x-cart version 4.3.2 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Have you looked at $manufacturers array how it is structured?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||
|
|||||||
![]() no i have not and not sure even how to display that to figure that out.
__________________
Albino D. Matesic -------------------- x-cart version 4.3.2 |
|||||||
#7
|
|||||||
|
|||||||
![]() Can anybody help me show to display the manufacturer array so i can display what information i want on the product details page.
Thanks in advance.
__________________
Albino D. Matesic -------------------- x-cart version 4.3.2 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() in that same php file after the manufacturers code you put from above
x_load ('debug'); func_print_r($manufacturer);
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#9
|
|||||||
|
|||||||
![]() Here is my array....
Code:
)
__________________
Albino D. Matesic -------------------- x-cart version 4.3.2 |
|||||||
#10
|
|||||||
|
|||||||
![]() So i displayed the manufacturer array.
Code:
Then in products.php i assigned the variable m_url using the following code: Code:
Finally i call it in product_details.tpl by doing the following: Code:
However its not displaying. What am i doing wrong here? I've tried many things and so on, but nothing. Please help and thanks in advance.
__________________
Albino D. Matesic -------------------- x-cart version 4.3.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|