Author Topic: Difference between base price , sales price, cost price and others  (Read 1640 times)

johnyDev

  • Beginner
  • *
  • Posts: 28
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

Quote
array (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

  • Beginner
  • *
  • Posts: 23
  • A beginner
Re: Difference between base price , sales price, cost price and others
« Reply #1 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???

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1512
Re: Difference between base price , sales price, cost price and others
« Reply #2 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.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10744
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Difference between base price , sales price, cost price and others
« Reply #3 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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1664
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Difference between base price , sales price, cost price and others
« Reply #4 on: February 01, 2023, 22:12:48 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10744
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Difference between base price , sales price, cost price and others
« Reply #5 on: February 02, 2023, 10:38:33 am »
Quote
Where 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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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