![]() |
Re: get manufacture in products.php
Thanks Carrie.
- Mike |
Re: get manufacture in products.php
I was unable to get Carrie's code to work in 4.1.8 as well.
|
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? |
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> |
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. |
Re: get manufacture in products.php
Quote:
Which func.php should this code be added to? Thanks Dave |
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
|
All times are GMT -8. The time now is 02:27 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.