Customers are reading the message about it being out of stock but not noticing the tiny red *** next tot the product it is referring to at the checkout.
Screen shot
https://ibb.co/ScYQCxn
Thanks
Tom
Opencart 3.0.2.0
Journal 3 theme
viewtopic.php?t=213708
at the end there is a ocmod
you can edit the language file to change the text in catalog/language/en-gb/checkout/cart.php
you can change the text in catalog/view/theme/YOUR-THEME/template/checkout/cart.twig
Code: Select all
<td class="text-left"><a href="{{ product.href }}">{{ product.name }}</a> {% if not product.stock %} <span class="text-danger">***</span> {% endif %}
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Unfortunately didn't work, cleared the website cache and the browser cache. No change
Thanks for linking to the other topic. The extensions they mention are about removing the out of stock product altogether from the front end. I just want to rename ***.
Thank you for trying anyway.
What is your site url?TomSut wrote: ↑Thu Aug 20, 2020 6:07 pmI tried to change the text in catalog/view/theme/YOUR-THEME/template/checkout/cart.twig before i posted on here.
Unfortunately didn't work, cleared the website cache and the browser cache. No change
Thanks for linking to the other topic. The extensions they mention are about removing the out of stock product altogether from the front end. I just want to rename ***.
Thank you for trying anyway.
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
The post linked in my original post offers a work around to highlight the bar in red to avoid the customer missing the ***
In that post xxvirusxx linked to two modules that remove it altogether - That is not the part I meant.No idea if this will work for Journal but someone else had a question like this a while ago.
viewtopic.php?t=213708
at the end there is a ocmod
It may not be exactly what you want, but the above two comments give you your options - the third would be to contact Journal support.
and if you found the code in the correct theme folder and changed it and not taking effect and you cached using Opencart (both in admin modifications and dashboard) - this could be Journal cache on cache or server caching or browser caching or a caching extension - and you need to flush that out -I tried to change the text in catalog/view/theme/YOUR-THEME/template/checkout/cart.twig
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Users browsing this forum: No registered users and 10 guests