chris134 Posted April 12, 2011 Share Posted April 12, 2011 Hi all, The products in my shop are sold in boxes of 6x the item. In my template I also automaticly need to have the price displayed per item, AND for the whole box. So what I want to do is make an extra field in my template, where it takes the price and divides it by 6.I looked in product.tpl and this is where the price comes from: {convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)}How do I modify this to divide the output of this by 6? Link to comment Share on other sites More sharing options...
DevNet Posted April 12, 2011 Share Posted April 12, 2011 Hi,Why do not you use the management pack products?Best regards Link to comment Share on other sites More sharing options...
chris134 Posted April 13, 2011 Author Share Posted April 13, 2011 Oh wow, I had not seen that option existed at all.... Thank you! What an oversight.. One more question and then it'll be perfect: Do you know of a way to advertise the product, but only sell the pack? In the category overview, search, etc I want people to see the price per item, not the whole pack. 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