mitzayapa Posted January 26, 2018 Share Posted January 26, 2018 (edited) Is there any way to strip the {$product['product_name']} to various lines ? I mean i have the product : "Product name - atribute 1 , atribute 2 , atribute 3" i need something like : "Prouct name - atribute 1 atribute 2 atribute 3" All that in Admin order page , Any help is appreciated. Edited January 26, 2018 by mitzayapa (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted January 26, 2018 Share Posted January 26, 2018 Try this: https://www.smarty.net/forums/viewtopic.php?p=6581&sid=ef175ce0cf94ca91c9a50ad6511a02b3 Link to comment Share on other sites More sharing options...
mitzayapa Posted January 26, 2018 Author Share Posted January 26, 2018 Now thats out of my league. Is there any simple way to do it ? Link to comment Share on other sites More sharing options...
musicmaster Posted January 26, 2018 Share Posted January 26, 2018 Something like {","|explode:$product['product_name']} Just google for "smarty explode". And take some time to experiment. Link to comment Share on other sites More sharing options...
mitzayapa Posted February 1, 2018 Author Share Posted February 1, 2018 Doesn't work , any other alternative ? Link to comment Share on other sites More sharing options...
Holohugo Posted September 20, 2019 Share Posted September 20, 2019 Have you find out how to do this? Need that too, cant find any working solution Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now