- Posts: 33
- Thank you received: 0
ADD contact us for more information BOTTON
14 years 4 months ago #52664
by Kenzo
ADD contact us for more information BOTTON was created by Kenzo
How to add the botton "contact us for more information" to my products ?
Regards, thank you.
Regards, thank you.
Please Log in or Create an account to join the conversation.
14 years 4 months ago #52755
by Xavier
Replied by Xavier on topic Re: ADD contact us for more information BOTTON
Hi Kenzo,
To add a button, you have to edit the view product / show_default.php, or show_reversed.php, or show_tabular.php depending on which one your are using.
To edit this view, go in HikaShop > Display Views.
Then you can add something like:
Just after the code:
To place it next to the 'add to cart' button.
To add a button, you have to edit the view product / show_default.php, or show_reversed.php, or show_tabular.php depending on which one your are using.
To edit this view, go in HikaShop > Display Views.
Then you can add something like:
Code:
<span id="hikashop_product_contact_us" class="hikashop_product_contact_us">
<input type="button" onclick="location.href( 'your contact page');" />
</span>
Just after the code:
Code:
<span id="hikashop_product_price_main" class="hikashop_product_price_main">
<?php
if ($this->params->get('show_price')) {
$this->row = & $this->element;
$this->setLayout('listing_price');
echo $this->loadTemplate();
}
?>
</span>
Please Log in or Create an account to join the conversation.
14 years 4 months ago #52761
by nicolas
Replied by nicolas on topic Re: ADD contact us for more information BOTTON
Otherwise, you can turn on the "Display a contact button on the product page" option of the Display tab of the configuration
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds