X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Display company name as Email sender (https://forum.x-cart.com/showthread.php?t=63170)

aim 09-17-2014 05:42 AM

Re: Display company name as Email sender
 
Quote:

Originally Posted by mcanitano
Can you verify which XC versions these patches are compatible with?


xcart_4_6_0
checking file admin/configuration.php
Hunk #1 FAILED at 50.
Hunk #2 succeeded at 218 (offset -51 lines).
Hunk #3 succeeded at 1362 (offset -102 lines).
1 out of 3 hunks FAILED
checking file skin/common_files/js/conf_fields_validation.js
Hunk #2 FAILED at 139.
1 out of 2 hunks FAILED




xcart_4_6_1
xcart_4_6_2
checking file skin/common_files/js/conf_fields_validation.js
Hunk #2 FAILED at 139.




xcart_4_6_3
xcart_4_6_4
are fully compatible

mcanitano 09-17-2014 06:07 AM

Re: Display company name as Email sender
 
Any chance it works on XC 4.5.5

aim 09-17-2014 06:41 AM

Re: Display company name as Email sender
 
2 Attachment(s)
Could you test the show_company.455.diff patch ?

mcanitano 09-17-2014 08:54 AM

Re: Display company name as Email sender
 
Quote:

Originally Posted by aim
Could you test the show_company.455.diff patch ?


I tested and works perfect, we are using X-Payments, so we followed this post as well: http://forum.x-cart.com/showpost.php?p=340031&postcount=18

NOTE: We have the updated X-Payments connector module from this thread: http://forum.x-cart.com/showthread.php?t=69505&page=2


On X-cart 4.5.5:
Code:

PATCH RESULTS

File admin/configuration.php successfully patched
File include/func/func.core.php successfully patched
File include/func/func.mail.php successfully patched
File skin/common_files/admin/main/conf_fields_validation_js.tpl successfully patched
File skin/common_files/js/conf_fields_validation.js successfully patched

PATCH LOG

Patching file /admin/configuration.php ...
Hunk #1 succeeded at 54.
Hunk #2 succeeded at 234.
Hunk #3 succeeded at 1334.
done
Patching file /include/func/func.core.php ...
Hunk #1 succeeded at 46.
Hunk #2 succeeded at 2935.
Hunk #3 succeeded at 2958.
done
Patching file /include/func/func.mail.php ...
Hunk #1 succeeded at 732.
done
Patching file /skin/common_files/admin/main/conf_fields_validation_js.tpl ...
Hunk #1 succeeded at 19.
done
Patching file /skin/common_files/js/conf_fields_validation.js ...
Hunk #1 succeeded at 48.
done
Patch applied successfully


Duramax 6.6L 09-22-2014 03:53 PM

Re: Display company name as Email sender
 
Are we sure this works on 4.6.4

designguru 10-08-2014 08:10 AM

Re: Display company name as Email sender
 
Quote:

Originally Posted by aim
xcart_4_6_0
checking file admin/configuration.php
Hunk #1 FAILED at 50.
Hunk #2 succeeded at 218 (offset -51 lines).
Hunk #3 succeeded at 1362 (offset -102 lines).
1 out of 3 hunks FAILED
checking file skin/common_files/js/conf_fields_validation.js
Hunk #2 FAILED at 139.
1 out of 2 hunks FAILED




xcart_4_6_1
xcart_4_6_2
checking file skin/common_files/js/conf_fields_validation.js
Hunk #2 FAILED at 139.




xcart_4_6_3
xcart_4_6_4
are fully compatible




So it's not working with 4.6.2?

aim 10-08-2014 07:13 PM

Re: Display company name as Email sender
 
Quote:

xcart_4_6_2
checking file skin/common_files/js/conf_fields_validation.js
Hunk #2 FAILED at 139.

Code:

+      && validationFields[i].validation.match(/php_ver:(\d+.\d+.\d+)/gi)

This change in the skin/common_files/js/conf_fields_validation.js file can be skipped for X-Cart 4.6.2

designguru 10-10-2014 02:45 AM

Re: Display company name as Email sender
 
Quote:

Originally Posted by aim
Code:

+      && validationFields[i].validation.match(/php_ver:(\d+.\d+.\d+)/gi)

This change in the skin/common_files/js/conf_fields_validation.js file can be skipped for X-Cart 4.6.2


So do I need to delete exactly this code line from showcompany.diff?

Code:

+      && validationFields[i].validation.match(/php_ver:(\d+.\d+.\d+)/gi)

Or do I simply run it as is?

aim 10-10-2014 04:22 AM

Re: Display company name as Email sender
 
1 Attachment(s)
show_company.4.6.1-4.6.2.diff is uploaded.

designguru 10-10-2014 04:39 AM

Re: Display company name as Email sender
 
Quote:

Originally Posted by aim
show_company.4.6.1-4.6.2.diff is uploaded.


Thanks so much!


All times are GMT -8. The time now is 08:51 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.