Announcement

Collapse
No announcement yet.

Product title on two lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    ta muchly.

    i'v done this type of thing previously, but it was the other way around, to remove the br tags for the cart.

    this way is better. i think.

    if anyone can make it work and put up some solid code, thatd be great.

    Comment


      #17
      It would be easier to use a PHP block that does this instead of JavaScript. Same idea but done once when the page is prepared.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #18
        actually, you're right, it would be better.

        like:

        PHP Code:
        block
        if(ThisIsAProductPage) {
        echo 
        str_replace(" | ","<br>","ProductName");
        }
        /
        block 
        psudocode once again, off the top of my head, i cant recall the exact syntax.

        Comment

        Working...
        X