- osCommerce Support Forum
- → Viewing Profile: jhaugen
Latest News: (loading..)
Community Stats
- Group Community Member
- Active Posts 21 (0.01 per day)
- Most Active In General Add-Ons Support (10 posts)
- Profile Views 2,052
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
Jerry Haugen
-
Gender
Not Telling
Contact Information
Posts I've Made
In Topic: Weird Characters in ORDER HISTORY or EMAILS to Customers
25 May 2012, 23:53
This can happen if you are using ckeditor to create messages on your order page. Ckeditor (and maybe other html editor add-ons) defaults to what-you-see-is-what-you-get mode and wraps html around whatever you type there. To avoid this, click "Source" before typing to get into the plain text editor mode. If you click source after typing, it will add the html again, so be sure to "Update" before clicking "Source" again.
In Topic: (Basic question) How to search only in product title?
19 May 2012, 06:19
The following is what I did with osC2.3.1 so that
1. Quick Find would not search product descriptions and
2. Advanced Search would give the user the option to search descriptions:
Quick Find to NOT Search Product Descriptions
in catalog/includes/modules/boxes/bm_search.php find this:
change to this:
Advanced Search to Allow User to Choose to Search Product Descriptions
in catalog/advanced_search.php find this:
change to this:
As always, back up first and use this information at your own risk.
-Jerry-
1. Quick Find would not search product descriptions and
2. Advanced Search would give the user the option to search descriptions:
Quick Find to NOT Search Product Descriptions
in catalog/includes/modules/boxes/bm_search.php find this:
tep_draw_hidden_field('search_in_description', '1')
change to this:
tep_draw_hidden_field('search_in_description', '0')
Just change the 1 to a zero to turn off the description search.Advanced Search to Allow User to Choose to Search Product Descriptions
in catalog/advanced_search.php find this:
<div>
<?php echo tep_draw_input_field('keywords', '', 'style="width: 100%"') . tep_draw_hidden_field('search_in_description', '1 '); ?
</div>
change to this:
<div>
Keywords: <?php echo tep_draw_input_field('keywords', '', 'style="width: 100%"'); ?>
<br />
Check here to search descriptions too: <?php echo tep_draw_checkbox_field('search_in_description', '1'); ?>
</div>
As always, back up first and use this information at your own risk.
-Jerry-
In Topic: Virtual Merchant - Elavon, ViaKlix, Nova Payment Module Support Forum
20 April 2012, 05:19
I've been messing with this contribution - trying to get it to work with osC 2.3.1 and Elavon's system. I have fixed the 'ereg' errors so it plays nicely with newer versions of php and I have patched up the html so that, theoretically, error messages will display properly for the customer. I am however stuck with this error from Elavon:
Error Message(s): 4009. Required Field Not Supplied. The field Invoice Number (ssl_invoice_number) required but not supplied in the authorization request.
I don't know how to fix this. Any ideas? Elavon lists a couple $50 versions of this module as being compatible and available. Any recommendations?
Error Message(s): 4009. Required Field Not Supplied. The field Invoice Number (ssl_invoice_number) required but not supplied in the authorization request.
I don't know how to fix this. Any ideas? Elavon lists a couple $50 versions of this module as being compatible and available. Any recommendations?
In Topic: Quickly Update Product Stock
13 April 2012, 22:10
I just installed the April 8, 2012 version on osC 2.3.1 with php 5.3.10. I got the following error:
“Deprecated: Function eregi() is deprecated in . . . admin/quick_stockupdate.php on line 147”
Here is the fix:
OLD LINE:
NEW LINE:
Just replace the old line with the new line. It now seems to be working fine.
-Jerry-
“Deprecated: Function eregi() is deprecated in . . . admin/quick_stockupdate.php on line 147”
Here is the fix:
OLD LINE:
if ( (eregi('alter ', $next)) || (eregi('update', $next)) || (eregi('create', $next)) || (eregi('insert', $next)) || (eregi('delete', $next)) || (eregi('drop t', $next)) ) {
NEW LINE:
if ( (preg_match('/alter/i ', $next)) || (preg_match('/update/i', $next)) || (preg_match('/create/i', $next)) || (preg_match('/insert/i', $next)) || (preg_match('/delete/i', $next)) || (preg_match('/drop t/i', $next)) ) {
Just replace the old line with the new line. It now seems to be working fine.
-Jerry-
In Topic: USPS Rate V4, Intl Rate V2 (official support thread)
12 April 2012, 00:52
Thanks Jetta, that resolved my PayPal issue. I appreciate your efforts with this and other pieces of osC.
-Jerry-
-Jerry-
- osCommerce Support Forum
- → Viewing Profile: jhaugen
- Forum Rules






Find content