jkousholt Posted July 6, 2015 Share Posted July 6, 2015 i grabbed this code from admin/themes/default/controllers/products/quantities.tpl {$available_quantity[$attribute['id_product_attribute']]|htmlentities} It shows how many of each combination there is for a product. I would like create a variable in modules/mailalerts/mailalerts.php so it can be used in the email $items_table variable Like here: <td style="padding:0.6em 0.4em; text-align:right;">'.Tools::displayPrice($unit_price, $currency, false).'</td> <td style="padding:0.6em 0.4em; text-align:center;">'.(int)$product['product_quantity'].' (INSERT VARIABLE HERE)</td> <td style="padding:0.6em 0.4em; text-align:right;">' Hope it makes sense 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