| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Manufacturer Name on Cart Page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I am trying to add the Manufacturer name to the cart. I am able to add the manufacturer id, but not the name. Here's the code I am using to add the id number: {$products[product].manufacturerid} if I change it to: {$products[product].manufacturer} it comes up blank. This code is within the products loop on the cart page - {section name=product loop=$products} Any ideas? Thanks very much for your help, Jenny
__________________
Version 4.3.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() To add manufacturer name do the following. Edit /include/func/func.cart.php
Find function func_products_from_scratch() there is a line with SQL query beginning with PHP Code:
Replace it with 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 |
|||||||||
#3
|
|||||||
|
|||||||
![]() Perfect!
Thanks so much. Jenny
__________________
Version 4.3.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() There are 2 lines in 4.1.11 under that function where that code starts. Line 1655 & 1669. Which one or does both need to be modified? The two seem a bit different...
Line 1655: Code:
Line 1669: Code:
Thanks for any help...
__________________
X-Cart Pro 4.1.11 |
|||||||
#5
|
|||||||
|
|||||||
![]() Any idea how to do this in version 4.4.1 for the order page? i'm assuming you would need to change func.order.php
Thanks, Jenny
__________________
Version 4.3.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|