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
Forum Search
Google Site Search
Author « Topic »  

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 03/05/2018 :  18:19:17  

The updater summary posting for version 6.8.5 (https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=109541) lists all the files that have changed.

Not included in that list are the languagefiles, yet the updater contains all the languagefiles which will overwright the existing lanquagefiles.

I have changes in my languagefile_en.php which I must revise every time I apply an updater to my site.

Since the languagefiles are not mentioned in the list of changed files, can I remove the one languagefile_en.php from the updater so it does not overwright my existing file?


Doug
[url]http://www.paintandpowderstore.com[/url]

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 03/05/2018 :  18:37:56  
Hi Doug, that is true if the file is not listed then there are no changes if updating from 6.8.4 to 6.8.5, in the case of say updating from 6.8.0 to 6.8.5 there would be changes. We recommend that you put language changes into the vsadmin/includes.php as that file is never included in the updater. The includes does need to come after the languagefile on the store pages so that it will override the languagefile. Example of includes after languagefile:

<?php include "vsadmin/db_conn_open.php"?>
<?php include "vsadmin/inc/languagefile.php"?>
<?php include "vsadmin/includes.php"?>
<?php include "vsadmin/inc/incfunctions.php"?>

or

<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?>





Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 03/06/2018 :  04:33:47  

Thanks Marlene.

I changed the order in all my store files and that should save me some work after each updater.

Another question about order:

include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?>

Are there any implications to having the metainfo.php called for after the incfunctions.php file? Nearly all my store files have the incfunctions.php last.


Doug
[url]http://www.paintandpowderstore.com[/url]

Andy
ECT Moderator

95440 Posts

Posted - 03/06/2018 :  04:43:21  
Hi Doug

I don't think the order of the incfunctions / metainfo lines makes any difference.

Andy

Please feel free to review / rate our software

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 03/06/2018 :  05:12:08  

Thanks Andy.


Doug
[url]http://www.paintandpowderstore.com[/url]

Vince
Administrator

42874 Posts

Posted - 03/06/2018 :  06:21:29  
It's actually better to have the incfunctions file first as that way you save on a database call to get admin settings again. It's a really small point and won't actually cause any problems either way.

include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 03/06/2018 :  08:55:43  
Thanks Vince.


Doug
[url]http://www.paintandpowderstore.com[/url]

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 03/21/2018 :  12:34:33  

I have another issue related to the statements in the languagefile_en.php.

The following statement is in my includes.php file:

$GLOBALS['xxOrdStr']='Order at Paint and Powder Cosmetics';

It seems when the customers use their credit card through Paypal (Paypal Direct), the email notice sent to me properly states "Order at Paint and Powder Cosmetics" in the subject line.

However, when they use their Paypal account (Paypal Express), the email notice subject line reads "Order at your Store" (i.e. the default from the languagefile_en.php.

I wonder if somehow I have missed putting the <?php include "vsadmin/includes.php"?> statement after the <?php include "vsadmin/inc/languagefile.php"?> statement in some other file.

Can anyone suggest which file that might be that handles Paypal Express results? Or if there is some other issue I am not aware of that would cause this result?

Any help would be most appreciated.



Doug
[url]http://www.paintandpowderstore.com[/url]

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 03/21/2018 :  13:59:17  
Hi Doug, can you check that the include lines are in the correct order on the thanks.php page. I would also check in the vsadmin/includes.php that xxOrdStr is not duplicated in the file I don't think it is but can't hurt to check.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 03/21/2018 :  14:20:38  

Thanks Marlene,

That may have fixed the problem. The includes statement was preceding the languagefile statement. I corrected it and will watch the orders to see if it is now working properly.

Thanks again.



Doug
[url]https://www.paintandpowderstore.com[/url]

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 03/21/2018 :  17:43:05  

Yes. That did it. All is working as it should now.

Thanks again, Marlene.


Doug
[url]https://www.paintandpowderstore.com[/url]
  « 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