Beginner_OS Posted December 31, 2013 Share Posted December 31, 2013 (edited) The code doesn't remove it. That is the basic operation of oscommerce, as I recall. Why does oscommerce not remove it when I change it here? $anchor = preg_replace($pattern, '-', $anchor); ---> $anchor = preg_replace($pattern, '/', $anchor); Actually slash in the product name is not an issue (it is better if it is replaced by hyphen, of course). I am trying to replace only one hyphen by slash: between parent category and subcategory, and between the parent category and the product name. Is that possible? Edited December 31, 2013 by Beginner_OS Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.