Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

how ti trim the beginning of a manufacturer name


Recommended Posts

Hi all


it is as a standard that one can have the lenght of a manufacturer shorten ie: 15 curecters (it cut the the end of the the name)


How do I shorten the namufacuter name at the beginning?



manufacturer name: Salvonet From Rome


to cut the "Salvonet" and remane "From Rome"


(The Salvonet MUST be entered)



Link to comment
Share on other sites

After all the try and error and reading and reading and asking around.


I have used this below and worked and if I put it here just in case someone else needs it...


$manu = substr($manufacturers_name,2);



Will return the manufacturers name without the first two characters...


I put a prefix to order the manufacturers but then I don't want to show it, this is the reason I needed.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...