Skip to main content

Product details page

13 years 11 months ago #77895 by engg.arnab
Can you plz tell me the code to display image name and category name in product details page.

Please Log in or Create an account to join the conversation.

13 years 11 months ago #77903 by Xavier
Replied by Xavier on topic Product details page
Hi,

Try that code:
Code:
$catClass = hikashop_get('class.category'); $category = $catClass->getChilds($this->element->category_id); echo $category[0]->category_name; echo $this->element->images[0]->file_name;

Please Log in or Create an account to join the conversation.

13 years 11 months ago #77918 by engg.arnab
Replied by engg.arnab on topic Product details page
Thanks a lotz it's working fine.. :cheer:

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum