Skip to main content

ADD contact us for more information BOTTON

More
14 years 4 months ago #52664 by Kenzo
How to add the botton "contact us for more information" to my products ?

Regards, thank you.

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

More
14 years 4 months ago #52755 by Xavier
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:
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>
To place it next to the 'add to cart' button.

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

More
14 years 4 months ago #52761 by nicolas
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
Powered by Kunena Forum