In opencart, after clicking the edit button and display another one?

After pressing the change button "add to cart" to choose "Continue shopping" to another link and display the new "order"?

Version 2.3.0.2 opencart
June 8th 19 at 16:53
1 answer
June 8th 19 at 16:55
Solution
If on the product page in the script:
$('#button-cart').on('click', function() {
...

In
if (json['success']) {

 }

Add something like:
$('#button-cart').replaceWith('<a>New button</a><a>one</a>')
And the js file is called? - nikita.Stracke commented on June 8th 19 at 16:58
,
This is the template of the product
\catalog\view\theme\default\template\product\product.tpl - Kayli commented on June 8th 19 at 17:01

Find more questions by tags OpenCart