24/7 Support - 800.608.6482

Miva Merchant Community Forums

Thread: Invoice line item subtotal variable with toolkit

  1. #1
    nrp is offline Developer Partner Array
    Join Date
    Apr 2006

    Default Invoice line item subtotal variable with toolkit

    I thought I had a snippet of code to extract the line item subtotal ( product * quantity purchased) on the invoice for detailed tracking but I can't find it now. Does anyone have an example?

  2. #2
    Join Date
    Dec 2006

    Default Re: Invoice line item subtotal variable with toolkit

    Since no one responded I can give you this hint using toolbelt. When used on the BASK or INVC page this item makes many other items available including item images and the attribute prompts.

    &mvt:item:Combined_Price; and &mvt:item:Combined_PriceF;

    <mvt:item name="ry_toolbelt" param="basketcombined" />

    Other than that you will have to loop through the outer and inner basket loops and sum the line item total yourself.
    Ray Yates
    "If I have seen further, it is by standing on the shoulders of giants."
    --- Sir Isaac Newton
    PCINet: http://www.pcinet.com/
    Toolbelt: http://www.pcinet.com/miva-modules/ry_toolbelt.html
    Toolbelt Documentation: http://www.pcinet.com/docs/toolbelt_docs.html
    Miva Script: http://www.MivaScript.com/

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts