News:

Looking for documentation? Take a look on our wiki

Main Menu

Difference between base price , sales price, cost price and others

Started by johnyDev, February 07, 2014, 19:45:34 PM

Previous topic - Next topic

johnyDev

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

annpaul

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???

balai

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.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

pinochico

Link for Taxes & Calculation Rules  missing :)

Where is it Documentation pls?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

GJC Web Design

QuoteWhere is it Documentation pls?

If it's missing your welcome to write it and contribute...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

annpaul

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?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation