You are here:  » How to retrieve category name on product Page

Support Forum



How to retrieve category name on product Page

Submitted by technoarenasol on Fri, 2012-11-02 08:02 in

Hi David

I am Try to different small description for diffrent category
like

if(category=="mobile")
{

print $product["mobiledecs"];
}

else

{

print $product["accessoriesdesc"];

}

can you help me how can I get category name of particular product page.

Thanks
Amin

Submitted by support on Fri, 2012-11-02 10:24

Hi Amin,

Use:

if($mainProduct["category"]=="mobile")

Cheers,
David.
--
PriceTapestry.com