Go back to the page you came Opencart
Go back to the page you came Opencart
πŸ’Ό Creation of modern websites of any complexity. | πŸ‘Œ WEB-UKRAINE.COM

Go back to the page you came Opencart

5/55 ratings

Good day dear friends.
Today I would like to talk about how to opencart make so that the user in the case of the transition to the notes in the information pages and the other is not returned to the home page as the default is happening now, and the page with which he moved.
Now if the user clicks on the "Continue" button buyer gets the home page that is not quite correct to agree, correct if it is returned to the page from which it came, for example, in a certain category, or product.

Well, in general, are you understand, now I will try to describe in detail how to do it, because for this task need only replace one string.

And so for example we take any information page in the store, for example information about the delivery and payment, and in it after the article itself is the button "Continue" when you click on it the user navigates to the home page, we do right now to change it so that the client would return to previous page from which it came.

Open the file: catalog/view/theme/your theme/template/information/information.tpl and in the line:

Just change:

That's basically all if the client is now looking a specific product and clicks on any information page to find out the details, and after reading it he presses continue automatic return to the goods which he looked, and from which passed. All so very similar, you can make to other pages in your store for example in the basket, comparisons, and other ...

I would be glad if this article will be useful to someone.

You may also like

No Comment

You can post first response comment.

Leave a Reply

Π’ΠΈΠ±Π΅Ρ€Ρ–Ρ‚ΡŒ спосіб спілкування
Звязатися Π· Π½Π°ΠΌΠΈ!
Ми Π³ΠΎΡ‚ΠΎΠ²Ρ– Π΄ΠΎ Π΄Ρ–Π°Π»ΠΎΠ³Ρƒ.