Answer the question
In order to leave comments, you need to log in
Response on button click?
There is a bot shop on the wokomerc
, in it you need to add a button, when clicked, text information will be displayed (contact for example)
private function bftow_get_default_keyboard()
{
$keyboard = [
['text' => 'Кнопка 1',],
['text' => $this->shop_button,],
];
if ($this->fast_checkout === 'no') {
$keyboard[] = [
'text' => $this->cart_button,
];
}
return apply_filters('bftow_default_keyboard', $keyboard);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question