Thanks, I tried to add this to the vendor default page to create the contact the seller link however it didn't show i think this may be because it is not on the product page therefore it doesn't know the contact it should make.
<div id="hikashop_product_contact_main" class="hikashop_product_contact_main">
<?php
$contact = $this->config->get('product_contact',0);
if (hikashop_level(1) && ($contact == 2 || ($contact == 1 && !empty ($this->element->product_contact)))) {
$empty = '';
$params = new HikaParameter($empty);
global $Itemid;
$url_itemid='';
if(!empty($Itemid)){
$url_itemid='&Itemid='.$Itemid;
}
echo $this->cart->displayButton(JText :: _('CONTACT_US_FOR_INFO'), 'contact_us', $params, hikashop_completeLink('product&task=contact&cid=' . $this->element->product_id.$url_itemid), 'window.location=\'' . hikashop_completeLink('product&task=contact&cid=' . $this->element->product_id.$url_itemid) . '\';return false;');
}
?>
</div>
Is there a way also for me to remove the 'btn button hikashop_cart_input_button' on the product page? I cannot see any reference to it in the above code however i would like to style it slightly differently to the other buttons on the site.
Thanks
Alex