Hi guys, I used to be able to add simple pop-up messages on my homepage and cart page with the previous versions of Opencart.
Namely in these locations:
/catalog/view/theme/default/template/checkout (cart.tpl)
/catalog/view/theme/default/template/common (home.tpl)
The current version is Opencart 3.0.3.6, the away message does not appear when I tried the same method that used to work.
Thanks in advanced!
Namely in these locations:
/catalog/view/theme/default/template/checkout (cart.tpl)
/catalog/view/theme/default/template/common (home.tpl)
The current version is Opencart 3.0.3.6, the away message does not appear when I tried the same method that used to work.
Thanks in advanced!
Last edited by happyfoodmaker on Tue Jan 11, 2022 3:29 pm, edited 1 time in total.
It is not recommended to directly edit the default files, that being said, which files did you add the script to in 3.x?
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com/opencart-hosting/.
Hi, i tried the same files but they are now .twig instead of .html
How can i add a simple popup message now?
Thanks!
How can i add a simple popup message now?
Thanks!
Can you please let us know your old opencart version.
You may like these extension : - https://www.opencart.com/index.php?rout ... r=cmsrooms
You can add the script in those files, save them, and clear both caches and refresh modification to see if it works.
If it doesn’t then you may have to provide more info including possibly posting the script code here.
If it doesn’t then you may have to provide more info including possibly posting the script code here.
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com/opencart-hosting/.
I bet you didn't clear your caches: https://www.antropy.co.uk/blog/how-to-c ... t-3-0-2-0/happyfoodmaker wrote: ↑Mon Jan 10, 2022 9:15 ammessage does not appear when I tried the same method that used to work.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
would you share your method or suggest a link to discover?happyfoodmaker wrote: ↑Mon Jan 10, 2022 9:15 amHi guys, I used to be able to add simple pop-up messages on my homepage and cart page with the previous versions of Opencart.
Namely in these locations:
/catalog/view/theme/default/template/checkout (cart.tpl)
/catalog/view/theme/default/template/common (home.tpl)
The current version is Opencart 3.0.3.6, the away message does not appear when I tried the same method that used to work.
Thanks in advanced!
thanks
Please add [SOLVED] to the start of the post title.happyfoodmaker wrote: ↑Tue Jan 11, 2022 3:29 pmIssues resolved. Was working on the wrong files! Thanks guys!
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: nonnedelectari, Semrush [Bot] and 70 guests