ADD contact us for more information BOTTON

  • Posts: 33
  • Thank you received: 0
12 years 5 months ago #52664

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.

  • Posts: 13201
  • Thank you received: 2322
12 years 5 months ago #52755

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:

  <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:
  <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.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52761

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.069 seconds
Powered by Kunena Forum