You are here:  » Merchant name autocapitalisation

Support Forum



Merchant name autocapitalisation

Submitted by tbbd2007 on Mon, 2008-03-03 17:55 in

David,

Is there any way to turn off the autocapitalisation of the Merchant names?

Thanks,

Stephen
Online Shopping For
UK Online Shopping For

Submitted by support on Mon, 2008-03-03 17:59

Hi Stephen,

Sure - it's done by the following code in includes/admin.php, line 77 within the admin_register() function:

database_safe(tapestry_normalise(ucwords($merchant),'\.')),

...change this to:

database_safe(tapestry_normalise($merchant,'\.')),

Cheers,
David.

Submitted by tbbd2007 on Mon, 2008-03-03 23:46

David,

Thanks for that, but it changes the registered feed name by dropping the domain names, i.e. previously registered merchant names like 'example.com' are now coming out as 'examplecom', how do I get around that?

Kind regards

Stephen

Submitted by tbbd2007 on Tue, 2008-03-04 00:01

David,

Spotted what I think was the error in the code, I think your brackets were in the wrong place. Have moved them and all is well!

Thanks anyway,

Stephen

Submitted by support on Tue, 2008-03-04 08:14

Ah yes, sorry about that! I've corrected the code above in case anyone else wishes to make this change!

Cheers,
David.