Ragnar08 Posted January 28, 2018 Share Posted January 28, 2018 Hello Prestashop Community, I would like to add a variable sentence in the product description and in the html code of some CMS page. Exemple : "Subscribe today and receive the product in {February}" if the customer visit in January and "Subscribe today and receive the product in {March}" if the customer visit in February Can you please help? Thank you Link to comment Share on other sites More sharing options...
razaro Posted January 28, 2018 Share Posted January 28, 2018 Hi and welcome to the forum, You can maybe try to use this approach. https://www.prestashop.com/forums/topic/508542-override-dynamic-content-in-cms-page/ It is override for CMS pages that adds some variables. It have date but you probably need to format it to display just month+1. Note, that override could be from different PrestaShop version so maybe ask @safa for some help. Link to comment Share on other sites More sharing options...
Ragnar08 Posted January 29, 2018 Author Share Posted January 29, 2018 23 hours ago, razaro said: Hi and welcome to the forum, You can maybe try to use this approach. https://www.prestashop.com/forums/topic/508542-override-dynamic-content-in-cms-page/ It is override for CMS pages that adds some variables. It have date but you probably need to format it to display just month+1. Note, that override could be from different PrestaShop version so maybe ask @safa for some help. Thanks very much Razaro, I will try that 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