Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Location
    Sweden
    Posts
    94
    Plugin Contributions
    4

    Default product price in order after discount

    I need a quick answer. I don't sit with my working computer and can't get into the database.

    If a customer buy two products and one products cost $10 and the other $15.
    the customer use discount on 10%. What is the products price in the database for the order after discount? Is it updated or not?

    (I know about the problem with tax so this is without tax)

    I need to know this for a customers API

  2. #2
    Join Date
    Nov 2004
    Posts
    77
    Plugin Contributions
    0

    Default Re: product price in order after discount

    Not enough information really. is the discount from a coupon on order total, is one product 10% off or both?

    depending on which the price in the order table will be either linked to order total module that is being used and the price different.
    Dan - statuscontrols.com/web
    web programming and design

  3. #3
    Join Date
    Sep 2008
    Location
    Sweden
    Posts
    94
    Plugin Contributions
    4

    Default Re: product price in order after discount

    Ok.
    Most of our administrations program in Sweden works from products not from the order total. So for a API work correctly it need to set discount on the product not in the order total.

    really it dosn't metter if it's % or a amount discount. or if it's a gv. I need to know if the price change in orders_products or any other field.

    If this not change is there any modules that make this for some part that I can work from?

  4. #4
    Join Date
    Sep 2008
    Location
    Sweden
    Posts
    94
    Plugin Contributions
    4

    Default Re: product price in order after discount

    I have idéas how to fix it.
    1. count all products and split discount total in that pieces. then add it to products price in orders_products.
    2. create a new products in orders_products that is the discount.

    Last one is tricky I think. So for the first one where should I put the code for best result?

    (I don't have wroten the code yet)

    I use 1.3.8

 

 

Similar Threads

  1. v139h Show original price or discount amount for each product in order email notification
    By yakin_up in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Sep 2012, 08:54 PM
  2. Editting Product Price After Order
    By bainne in forum Managing Customers and Orders
    Replies: 3
    Last Post: 14 Aug 2008, 12:37 AM
  3. How to ignore sale price and apply group Discount to original product price?
    By cushietushies in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 25 Jul 2008, 05:51 AM
  4. Missing Price After Adding Special Discount
    By redpostbox in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 4 Nov 2007, 06:19 AM

Posting Permissions

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