karthiiiiiiiiiik Posted July 21, 2014 Share Posted July 21, 2014 Hi to all, I have been working on how to show a different type of prices for each product in product . it is for display only ? for example one product should have euro rates only and other should have any currency like rupees . this is only for display ? . how can i do it ? Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2014 Share Posted July 21, 2014 you can try to deal with convertPrice static function for example: {tools::convertPrice(price_here,null, currency_to_here)} where: price_here - price of default currency currency_to_here - ID of currency that you want to show Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted July 21, 2014 Author Share Posted July 21, 2014 (edited) thank you vekia, in which tpl file i have to do this ? for example : there are two products : electric cooker it has to show dollars another product : tshirt it should have rupees .. i need to show rupees only for this product... thank you Edited July 21, 2014 by karthiiiiiiiiiik (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 22, 2014 Share Posted July 22, 2014 you have to use this code there where you want to display several prices. if you want to display it on product page - alter product.tpl if on category page - alter product-list.tpl file remember that in product.tpl $product variable is an object and in product-list.tpl file $product variable is an array Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted July 23, 2014 Author Share Posted July 23, 2014 hi vekia, I have made the converprice in product.tpl and product-price.tpl file but i am not getting the appropriate result... {tools::convertPrice(price_here,null, currency_to_here)} - currency_to_here the id of the currency i have given. kindly check and tel me. Link to comment Share on other sites More sharing options...
karthiiiiiiiiiik Posted August 2, 2014 Author Share Posted August 2, 2014 Hi to all, How to show the unit price and its impact on unit price while selecting the attribue in product page ? not the usual price only unit price... 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