Hello,
I need to send a javascript event on click the "ORDER_FINISH" button at "checkout-steps/step5".
Event onclick is: "ym (123456, 'reachGoal', 'ORDER_FINISH_BUTTON'); return true;"
But you already have a "return" value for this button in your code (previewfinish.php):
<div class="box_button">
<?php print $this->_tmp_ext_html_previewfinish_before_button?>
<input class="btn btn-primary button" type="submit" name="finish_registration" value="<?php print _JSHOP_ORDER_FINISH?>" onclick="return checkAGBAndNoReturn('<?php echo $this->config->display_agb;?>','<?php echo $this->no_return?>');" />
</div>
How do I add one more value for "return"? Obviously, I need to create an array of return values, but I'm not a programmer and don't understand php syntax ...
I beg You to help with the working code!
Joomla: last
JoomShopping: last
PHP: 7.3
JoomShopping: last
PHP: 7.3
Последнее изменение: 21.10.2020 18:49