VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: johnyDev on February 07, 2014, 19:45:34 PM

Title: Difference between base price , sales price, cost price and others
Post by: johnyDev on February 07, 2014, 19:45:34 PM
Hello,

can anyone please explain to me what is the difference between all those prices, and what is the price that the shopper will pay

Quotearray (size=18)
  'costPrice' => string '24.99000' (length=8)
  'basePrice' => float 18.48919799
  'basePriceVariant' => float 18.48919799
  'basePriceWithTax' => float 22.37192957
  'discountedPriceWithoutTax' => float 18.48919799
  'priceBeforeTax' => float 18.48919799
  'salesPrice' => float 22.37192957
  'taxAmount' => float 3.88273158
  'salesPriceWithDiscount' => float 0
  'salesPriceTemp' => float 22.37192957
  'unitPrice' => float 0
  'priceWithoutTax' => float 18.48919799
  'discountAmount' => float -0
  'variantModification' => float 0
  'DBTax' =>
    array (size=0)
      empty
  'Tax' =>
    array (size=0)
      empty
  'VatTax' =>
    array (size=1)
      1 =>
        array (size=8)
          0 => string 'Tax 21%' (length=7)
          1 => string '21.0000' (length=7)
          2 => string '+%' (length=2)
          3 => string '1' (length=1)
          4 => string '47' (length=2)
          5 => null
          6 => string '1' (length=1)
          7 => string '1' (length=1)
  'DATax' =>
    array (size=0)
      empty
Title: Re: Difference between base price , sales price, cost price and others
Post by: annpaul on February 01, 2023, 13:28:14 PM
Great question and I am looking for the same information. Is there any document or any article that provides simple one liner explanations for the various prices? What are Cost Price, Base Price, and Final Price?

Is the Cost Price the price at which the shop owner procures the product? If so, where can I specify the Sales Price??

I see that in Product Information screen, Cost Price is editable, Base Price is non-editable and Final Price is editable. What exactly is the purpose of Final Price? Is it same as Sales Price?


Then there is a checkbox named "Calculate the cost price". What is that for? On what basis is it going to compute the cost price???
Title: Re: Difference between base price , sales price, cost price and others
Post by: balai on February 01, 2023, 15:41:10 PM
Cannot explain all but will focus on the most basic.

1. Base price > The net price of a product (without taxes or discounts).
2. Sales price > The final price which the customer pays.
This in most cases calculated by VM, by including taxes, discounts or any other calculation rule applicable to the product.
Exception to the above is when you use price overrides. The price override is always the sales/final price, no matter the existing calc. rules.
Title: Re: Difference between base price , sales price, cost price and others
Post by: GJC Web Design on February 01, 2023, 18:33:13 PM
Don't know why they bother producing these .. no one ever reads them...  ::)

https://docs.virtuemart.net/manual/products-menu/product-edit.html

Title: Re: Difference between base price , sales price, cost price and others
Post by: pinochico on February 01, 2023, 22:12:48 PM
Link for Taxes & Calculation Rules  missing :)

Where is it Documentation pls?
Title: Re: Difference between base price , sales price, cost price and others
Post by: GJC Web Design on February 02, 2023, 10:38:33 AM
QuoteWhere is it Documentation pls?

If it's missing your welcome to write it and contribute...
Title: Re: Difference between base price , sales price, cost price and others
Post by: annpaul on May 08, 2023, 15:33:31 PM
The issue is that when the product is displayed, it shows two prices (among others) which I am not able to understand - Sales Price and Total (see image). Both show the exactly same value including tax amount.
Which price should I display if I want to display just the basic price of the product without any taxes and then total prices that includes all taxes and discounts?

Any idea?
Title: Re: Difference between base price , sales price, cost price and others
Post by: GJC Web Design on May 09, 2023, 10:17:40 AM
they have tooltips in the admin explaining what is what