Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
Shopping Cart Software Forum for Ecommerce Templates
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?



Find us on Facebook

Follow us on Twitter

View our YouTube channel

Ecommerce Templates on Google Plus


 All Forums
 General
 Design issues
 Remove "Notify when back in stock"?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

myraltis
Advanced Member

161 Posts

Posted - 01/10/2018 :  08:49:05  Show Profile
Is it possible to remove this message completely? I want to list a special product and the customer will need to phone to discuss options. If I remove the Sell Button via the admin panel this message appears.

Thanks, Tim

Andy
Administrator

90657 Posts

Posted - 01/10/2018 :  08:52:18  Show Profile
Hi Tim

Change

$notifybackinstock=TRUE;

to

$notifybackinstock=FALSE;

in vsadmin/includes.php

Andy

Please feel free to review / rate our software
Go to Top of Page

myraltis
Advanced Member

161 Posts

Posted - 01/10/2018 :  10:03:19  Show Profile
Andy,

If I do that the message changes to Out of Stock which isn't ideal. Is there another option?

Tim
Go to Top of Page

Andy
Administrator

90657 Posts

Posted - 01/10/2018 :  10:10:46  Show Profile
You can change the text, add this to includes.php

$xxOutStok="Please Call Us;

or whatever message you want to display.

Andy

Please feel free to review / rate our software
Go to Top of Page

myraltis
Advanced Member

161 Posts

Posted - 01/10/2018 :  11:35:08  Show Profile
Andy, it's not working for me.

I added "$xxOutStok="Please Call Us"; to vsadmin/includes.php but the original text remains unchanged. If I alter it in inc/languagefile_en.php it works fine but presumably will get overwritten when running updaters.

Any other ideas?

Tim
Go to Top of Page

Sinbad
Administrator

65389 Posts

Posted - 01/10/2018 :  11:48:51  Show Profile
Hi Tim, changes to the language_en will get overwritten by updater as you stated, check that the include lines on the pages are in the following order so that the includes.php comes after languagefile.php

include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";


Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates
Go to Top of Page

myraltis
Advanced Member

161 Posts

Posted - 01/13/2018 :  07:46:51  Show Profile
Thanks Sinbad, that was it. The language file was called after includes in proddetail.php.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2018 ecommercetemplates.com Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000