Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Help with PHP code  (Read 2845 times)

Offline Ollie

  • Sr. Member
  • ****
  • Posts: 253
  • Karma: +27/-1
    • View Profile
    • Assistech
Help with PHP code
« on: February 19, 2017, 11:30:42 AM »
I'm in the process of coding an extension and I need to know the code to get the total amount.  I tried these three code snippets, but none of them worked:

<?php echo $totalamout; ?>
<?php echo $total; ?>
<?php echo $total['text']; ?>

I also need the code for the model number of each item on the order.
« Last Edit: February 19, 2017, 11:43:24 AM by Ollie »
Assistive technologies for people with special needs:

Offline ABolm

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Help with PHP code
« Reply #1 on: May 04, 2017, 05:18:52 AM »
What, Where, Why ... ???

My crystal ball is for maintenance this week.
Last week I had ask a similar question and the high concentration of resulting smoke was very dangerous.

So questions like is $x the right variable, are not productive, nor to answer.
Just my 2 ct.
« Last Edit: May 04, 2017, 05:55:43 AM by ABolm »


Powered by SMFPacks Social Login Mod