- Posts: 3
- Thank you received: 0
Show Tax Category
13 years 9 months ago #84140
by zatanet
Show Tax Category was created by zatanet
How can I show the Tax Category into product page (show_default) ?
Thanks.
Best regards.
Thanks.
Best regards.
Please Log in or Create an account to join the conversation.
13 years 9 months ago #84395
by Xavier
Replied by Xavier on topic Show Tax Category
You can use some codee like:
Code:
<?php
$db = JFactory::getDBO();
$db->setQuery('SELECT `category_name` FROM '.hikashop_table('category').' WHERE `category_id`= '.$this->element->product_tax_id);
$tax_namekey = $db->loadResult();
?>
The following user(s) said Thank You: zatanet
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds