Dingo Doo Posted March 5, 2016 Share Posted March 5, 2016 I have seen this before but cannot find the link of where I saw it. I have created a listing that changes price when you choose a weight of the item, however would like to show how many items you get for the weight. ie, item has 10 options based on weight and each time weight is changed the price changes. Now this is fine and no problems with that however, along with each weight I wish to show how many items you get for that weight. Example: 10g = 5 items, 20g = 10 items etc, etc.. I would ideally like it to show below the reference/Condition field So when someone chooses 10g it shows the amount below reference/condition. As i said i have seen it on another site so know it can be done but not sure how to do it if not, can the amounts be shown along with the weight in the drop down box?, when i edit the products atributes section I technically could add the amount next to the weight but this is not an option as different products use the same weight but have different amounts. Link to comment Share on other sites More sharing options...
musicmaster Posted March 7, 2016 Share Posted March 7, 2016 The Smarty language of the templates is a primitive programming language. So you can do that kind of things. Link to comment Share on other sites More sharing options...
Dingo Doo Posted March 7, 2016 Author Share Posted March 7, 2016 The Smarty language of the templates is a primitive programming language. So you can do that kind of things. but how do you do/create that? Link to comment Share on other sites More sharing options...
musicmaster Posted March 7, 2016 Share Posted March 7, 2016 Just look in your .tpl files at the if statements and rudimentary calculus. Link to comment Share on other sites More sharing options...
Dingo Doo Posted March 7, 2016 Author Share Posted March 7, 2016 Just look in your .tpl files at the if statements and rudimentary calculus. i dont understand any of that i am not a programmer 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