SkyHiRider Posted February 18, 2014 Share Posted February 18, 2014 My product is named "Stamp 1234" and is sold for 50 Euro I'm using a lot of repetitive text and I would like my short product description to be: This is a shiny self-inking {productName} that is one of the most advanced on the market. You can get it on our store for {productPrice}, which also includes {customVariable}. customVariable should be user defined globally or for a category, in my case it would contain "graphical design and a two year warranty". How could I do this inside the prestashop text description editor? Link to comment Share on other sites More sharing options...
Krystian Podemski Posted February 19, 2014 Share Posted February 19, 2014 That kind of things required ProductController.php modification and add simple str_replace on product description... Link to comment Share on other sites More sharing options...
SkyHiRider Posted February 19, 2014 Author Share Posted February 19, 2014 I'm not a coder, could you share example code on how to achieve this? Link to comment Share on other sites More sharing options...
vekia Posted February 19, 2014 Share Posted February 19, 2014 check this: http://www.prestashop.com/forums/topic/279799-solved-how-to-use-variables-in-cms-pages/ you can do the same for product description variable Link to comment Share on other sites More sharing options...
SkyHiRider Posted March 5, 2014 Author Share Posted March 5, 2014 check this: http://www.prestashop.com/forums/topic/279799-solved-how-to-use-variables-in-cms-pages/ you can do the same for product description variable That topic is about 1.5 right? Tried searching for the string that I need to change but didn't find it in CMScontroller in 1.4.11 Link to comment Share on other sites More sharing options...
Recommended Posts