Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Recommended Posts

Необходимо в админке в заказе клиени сгделать возможность написать клиенту в Вайбер. Т.е. сгделать ик, чтобы во вкладке История появилась кнопка Viber, при нажатии на которую открывался протокол Вайбера и открывался Вайбер клиени (как на Проме):

 

image.png.d63b8bbb27325499731af7e2a9d0e68a.png

 

Сайт на ocStore Версия 1.5.5.1.2.

Edited by gidrik
Link to comment
Share on other sites


13 часов назад, gidrik сказал:

Необходимо в админке в заказе клиени сгделать возможность написать клиенту в Вайбер

Вот ик може прописать в файле admin/view/template/sale/order_info.tpl , всивить кнопку можеш куда тебе удобно

 <?php 
$tel = "$telephone";
$tel = preg_replace('/[^0-9]/', '', $tel);
?>
<a href="viber://chat?number=+<?php echo $tel; ?>" class="btn btn-primary btn-xs" data-toggle="tooltip" title="Viber" target="_blank"><i class="fa fa-phone" aria-hidden="true"></i></a>

 

Edited by Drovocek
  • +1 3
Link to comment
Share on other sites


  • 8 months later...

Здравствуйте, для меня ик же актунон этот вопрос, подскажите пожалуйси для ocStore 3.0.2.0 как сгделать подобное?

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.