You are here:  » just the company name

Support Forum



just the company name

Submitted by wilkins on Sat, 2011-05-21 21:26 in

Hi David

I am using some includes on the product page and I need to get just the merchant name on the product page without a link, is this possible.

brent

Submitted by support on Sun, 2011-05-22 07:35

Hi Brent,

As long as your includes are being called after the call to the main product HTML module (html/product.php) then you can refer to the variable $mainProduct["merchant"]. If your includes are predominantly HTML files, you can pull that in as follows:

<?php print $mainProduct["merchant"]; ?>

Cheers,
David.
--
PriceTapestry.com