sromain Posted July 14, 2013 Share Posted July 14, 2013 Hi, I would like to create a function that changes the price text on product page. Actually the price on my product page is display by this line of code : <span id="our_price_display" itemprop="price">{$productPrice|regex_replace:"/[\\{$currencySign}]/":""}€/week</span> I have created a category "day" and I would like that products which are on "day" category display this line of code : <span id="our_price_display" itemprop="price">{$productPrice|regex_replace:"/[\\{$currencySign}]/":""}€/day</span> All my products are rented by week but I have 20 products that are rented by day, that's why I want to create this function. I don’t know how to integrate this function in the code and if it is possible. If you could help me it would be nice Kind Regards, Romain 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