M
M
mastaJoe2019-03-08 16:20:03
css
mastaJoe, 2019-03-08 16:20:03

How in Opencart 2.3 to change the popup window when adding to cart?

How to make it so that when you click on the buy button, in the pop-up window, instead of "added to the shopping cart!", it was "go to checkout!" And actually by clicking it went to checkout?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dez64ru, 2019-03-11
@dez64ru

Find the desired template in /catalog/view/theme/theme_name/ and replace the link and text.

W
wowastrom, 2019-04-01
@wowastrom

I'm not exactly sure how in Opencart 2.3 but in Opencart 3.0.2.0 there is a line in product.twig responsible for this

$('.breadcrumb').after('<div class="alert alert-success alert-dismissible">' + json['success'] + '<button type="button" class="close" data-dismiss="alert">&times;</button></div>');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question