Ecommerce software home
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
Search our site
 All Forums
 General
 Design issues
 Remove "Notify when back in stock"?
Author « Topic »  

myraltis
Advanced Member

183 Posts

Posted - 01/10/2018 :  08:49:05  
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
ECT Moderator

95440 Posts

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

Change

$notifybackinstock=TRUE;

to

$notifybackinstock=FALSE;

in vsadmin/includes.php

Andy

Please feel free to review / rate our software

myraltis
Advanced Member

183 Posts

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

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

Tim

Andy
ECT Moderator

95440 Posts

Posted - 01/10/2018 :  10:10:46  
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

myraltis
Advanced Member

183 Posts

Posted - 01/10/2018 :  11:35:08  
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

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 01/10/2018 :  11:48:51  
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

myraltis
Advanced Member

183 Posts

Posted - 01/13/2018 :  07:46:51  
Thanks Sinbad, that was it. The language file was called after includes in proddetail.php.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000