Add Taxable item to Order Confirmation
Posted: Sat Aug 08, 2009 11:02 pm
Hello,
I am looking to add taxable item to ORder Confirmation template as a smarty variable.
I added this to the tmeplace: {$order|print_r}
The results of the important section was:
[0] => Array
(
[id] => 76
[order_id] => 12
[shipping_id] => 89
[item_id] => 6
[quantity] => 1
[product_name] => Heartland Gold Extra Virgin Coconut Oil - 454g
[details] =>
[price] => 15.99
[weight] => 0.45
[status] => notshipped
[create_date] => 2009-08-08 18:56:40
[modified_date] => 2009-08-08 18:56:40
)
I was abnle to edit the PHP files to add "taxable" to this:
[0] => Array
(
[id] => 76
[order_id] => 12
[shipping_id] => 89
[item_id] => 6
[quantity] => 1
[product_name] => Heartland Gold Extra Virgin Coconut Oil - 454g
[details] =>
[price] => 15.99
[weight] => 0.45
[status] => notshipped
[taxable] =>
[create_date] => 2009-08-08 18:56:40
[modified_date] => 2009-08-08 18:56:40
)
But when I check a product 'on' and 'off' as being taxable nothing changes. I just don't have time any more and am travelling starting righ tnow for 4 days but this needs to be done in the next 24 hours.
Can anyone help me? By help I mean let me know when you want to charge for the work.
Thanks
I am looking to add taxable item to ORder Confirmation template as a smarty variable.
I added this to the tmeplace: {$order|print_r}
The results of the important section was:
[0] => Array
(
[id] => 76
[order_id] => 12
[shipping_id] => 89
[item_id] => 6
[quantity] => 1
[product_name] => Heartland Gold Extra Virgin Coconut Oil - 454g
[details] =>
[price] => 15.99
[weight] => 0.45
[status] => notshipped
[create_date] => 2009-08-08 18:56:40
[modified_date] => 2009-08-08 18:56:40
)
I was abnle to edit the PHP files to add "taxable" to this:
[0] => Array
(
[id] => 76
[order_id] => 12
[shipping_id] => 89
[item_id] => 6
[quantity] => 1
[product_name] => Heartland Gold Extra Virgin Coconut Oil - 454g
[details] =>
[price] => 15.99
[weight] => 0.45
[status] => notshipped
[taxable] =>
[create_date] => 2009-08-08 18:56:40
[modified_date] => 2009-08-08 18:56:40
)
But when I check a product 'on' and 'off' as being taxable nothing changes. I just don't have time any more and am travelling starting righ tnow for 4 days but this needs to be done in the next 24 hours.
Can anyone help me? By help I mean let me know when you want to charge for the work.
Thanks