XjSv Posted July 30, 2008 Share Posted July 30, 2008 1 - I was trying to modify the email notifications when i came across the shipping.html and i was curious what the {followup} at the bottom was?? 2 - Also if anyone knows what are some of the codes in the email are it would help me so much, such as: {total_paid}, {delivery_firstname}, {payment},..etc. and the 3rd and last question is there such thing as {tax}. I'm trying to separate the tax amount from the total amount.Thanks Link to comment Share on other sites More sharing options...
ejectcore Posted July 30, 2008 Share Posted July 30, 2008 For your first question followup related to smarty variable assigned by shipping_number & carrier url so people can track there order$smarty->assign('followup', str_replace('@', $order->shipping_number, $carrier->url));All assigned smarty template variables have curly brackets & to find out what they relate to just look them up on the relevant php pageie.order-detail.tpl in your themes directory relates to order-detail.php in your rootFor your tax question is this separate anywhere else in prestshop without going through all the smarty templates I can't answer that onebut unless {tax} is defined in the php this will not work! hope that helps ;-) Link to comment Share on other sites More sharing options...
XjSv Posted August 7, 2008 Author Share Posted August 7, 2008 how home when i costumized my emails with the already exsisting variables with curly brackets, it did not show on the email?such as {date} and {payment}, {order_name}althought the {total_amount} showed correctly Link to comment Share on other sites More sharing options...
ejectcore Posted August 7, 2008 Share Posted August 7, 2008 You say you hve customised your emails which files did you modify :question: Link to comment Share on other sites More sharing options...
XjSv Posted August 8, 2008 Author Share Posted August 8, 2008 i changed the html files in /mails/en/ Link to comment Share on other sites More sharing options...
XjSv Posted August 13, 2008 Author Share Posted August 13, 2008 amwdesign i think that the tax is defined in the php because if u take a look at any orders invoice (.pdf) u can see at the bottom the variables such as: Tax %, Pre-tax Total, Total Tax, and Total with Tax. So im guessing that the tax is defiantly defined in the php somewhere. 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