Post by rajesh1811 » Sun Apr 15, 2018 11:57 am

Hi,

Is it possible to change the text "Availability : In Stock" to "Availability : Pre Order" in the products page.
Please note: I am not trying to add or edit the "In stock" status, I know by default we only have options for "Out of Stock" in opencart. I am just trying to change the text from displaying "In Stock" to "Pre Order" for all products.

Newbie

Posts

Joined
Fri Sep 15, 2017 8:06 am

Post by cyclops12 » Sun Apr 15, 2018 8:08 pm

There is a Pre-Order option in the out of stock status when setting the product up

Active Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by rajesh1811 » Mon Apr 16, 2018 2:52 pm

Hi,
Thank you cyclops12 for responding.
I am not talking about Out of Stock status. Availability status - by default is "In Stock" if product > 0, I want to change that to "Pre Order".

Newbie

Posts

Joined
Fri Sep 15, 2017 8:06 am

Post by webcorvo » Tue Apr 17, 2018 3:44 am

Hi,
You can change the text on the languages files:

catalog\language\en-gb\account\wishlist.php
catalog\language\en-gb\product\compare.php:
catalog\language\en-gb\product\product.php:

$_['text_instock'] = 'In Stock';
to
$_['text_instock'] = 'Pre-Order';

Opencart Developer - For custom work and support contact @ webcorvo@gmail.com


User avatar
Active Member

Posts

Joined
Mon Mar 20, 2017 11:42 pm
Location - Lisbon, Portugal
Who is online

Users browsing this forum: No registered users and 36 guests