Post by TomSut » Wed Aug 19, 2020 9:10 pm

When a customer pre orders a product I just want the *** next to the product (referring to it being out of stock) to say pre-order instead of ***

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

New member

Posts

Joined
Wed Nov 01, 2017 10:41 pm

Post by by mona » Wed Aug 19, 2020 11:36 pm

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

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 %}
Be aware that the above method will cut off quite a few characters but maybe you can try.

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.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by TomSut » Thu Aug 20, 2020 6:07 pm

I 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.

New member

Posts

Joined
Wed Nov 01, 2017 10:41 pm

Post by khnaz35 » Thu Aug 20, 2020 6:12 pm

TomSut wrote:
Thu Aug 20, 2020 6:07 pm
I 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.
What is your site url?

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by paulfeakins » Thu Aug 20, 2020 6:16 pm

If you can't find an extension, you could pay a developer such as ourselves or post a job in the Commercial Support Forum.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by letxobnav » Thu Aug 20, 2020 7:09 pm

just do a text search on your files for *** perhaps journal does it somewhere in css or javascript.

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.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by by mona » Thu Aug 20, 2020 7:32 pm

Ditto above

The post linked in my original post offers a work around to highlight the bar in red to avoid the customer missing the ***
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
In that post xxvirusxx linked to two modules that remove it altogether - That is not the part I meant.
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.


I tried to change the text in catalog/view/theme/YOUR-THEME/template/checkout/cart.twig
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 -

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.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: fegdeed and 40 guests