| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
get manufacture in products.php | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||
|
|||||||
Re: get manufacture in products.php
Thanks Carrie.
- Mike
__________________
4.1.9 |
|||||||
#52
|
|||||||
|
|||||||
Re: get manufacture in products.php
I was unable to get Carrie's code to work in 4.1.8 as well.
__________________
xCart 4.6.1 |
|||||||
#53
|
|||||||
|
|||||||
Re: get manufacture in products.php
Quote:
I pretty much got this to work, but not the link to the manufacturer. The link isn't resolving. I think because I have XC SEO installed. Can someone show me how to rewrite this? I tried: <a href="{$products[product].manufacturerid}">{$products[product].manufacturer}</a> But it didn't work. Also, any way to add the original price (Market price) on the detail page?
__________________
Thanks. X-Cart 4.1.9 Gold upgraded to 4.1.10 Considering 4.2 Local Computer: Mac OS 10.5.6 Brower Firefox 3.0.5 Server: OS Linux Apache 2.0.63 PHP 5.2.5 MySQL 5.0.51a-community |
|||||||
#54
|
|||||||
|
|||||||
Re: get manufacture in products.php
Got an answer from XC SEO... the code should be without the / after php.
<a href="manufacturers.php?manufacturerid={$products[product].manufacturerid}">{$products[product].manufacturer}</a> I got this mod to work on both search.php and the products.php. But for product.php (not products.php) I used this code: <a href="manufacturers.php?manufacturerid={$product.m anufacturerid}">{$manufacturer.manufacturer}</a>
__________________
Thanks. X-Cart 4.1.9 Gold upgraded to 4.1.10 Considering 4.2 Local Computer: Mac OS 10.5.6 Brower Firefox 3.0.5 Server: OS Linux Apache 2.0.63 PHP 5.2.5 MySQL 5.0.51a-community |
|||||||
#55
|
|||||||||
|
|||||||||
Re: get manufacture in products.php
Quote:
Which func.php file are you referring to? there are about 10 of them in 4.1.10 they all seem to be specific to modules.
__________________
SouqBazaar |
|||||||||
#56
|
|||||||
|
|||||||
Re: get manufacture in products.php
Quote:
Which func.php should this code be added to? Thanks Dave |
|||||||
#57
|
|||||||||
|
|||||||||
Re: get manufacture in products.php
As of 4.1 func.php was broken into specific function files in /include/func, such as func.product.php
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|