Questions tagged [price]

Questions about displaying and calculating product prices

This tag should be used for questions related to price display and calculation.

For example:

  • questions about the Magento price index (combined with )
  • questions about price formatting and the price.phtml template
  • questions about price sorting
  • questions about calculating price for configurable, bundle or grouped products and products with custom options

See also:

1610 questions
13
votes
2 answers

how to check if product is discounted

How can I know if the product is currently having a discount? I used this code. if($product->getFinalPrice() < $product->getPrice()){ //had a discount } But it doesn't works.
Netorica
  • 471
  • 1
  • 7
  • 24
5
votes
2 answers

Want to apply set prices based on quantity in cart (tier prices for multiple products)

I sell umbrellas (different colors) and am setting up my Magento cart. I would like the pricing to be set to be: 1 umbrella = 15.95 2 for $25, 3 for $34. Additional quantities above 3 would be each at the the individual price for the 3…
Larry
  • 71
  • 1
  • 2
5
votes
2 answers

difference between Price and Base Price

In magento sales quote, There's price and base_price and I can't find the difference between the two
eugene
  • 163
  • 1
  • 4
4
votes
3 answers

Setting (and updating) product group prices

It might be quite a simple question, but I've found no valid related answer yet. I'm trying to import sales prices from CRM with a custom module. I've tried: $item->setData('group_price', array(array ('website_id'=>0,…
Jared
  • 149
  • 2
  • 10
3
votes
2 answers

Restrict to 2 digits after decimal point in Price

we are using following code to display price in frontend. getPrice(); ?>
user33510
3
votes
1 answer

How can I modify the price with a formula?

I use this function to modify the price display on homepage. But I don't know how to get the value of attributes. Any ideas on the best way to do this? Thanks so much! public function collectionFinalPrice($observer) { $collection =…
tuanptit
  • 339
  • 2
  • 5
  • 12
3
votes
3 answers

What is the best way to update multiple product prices by a percentage?

We have several thousand products in our Magento store and every January we like to do a price increase of around 2-3%. In the past we have exported the products and manually edited the prices in the sheet and then uploaded the sheet. Is there a…
user2573198
  • 31
  • 1
  • 3
3
votes
2 answers

How to set a Special Price and block all coupons for it

Using Magento 1.4.0.1 and want to put an item on sale using a Special Price. I don't want customers to use a coupon to further discount it. This applies to one SKU only. I have over 500 coupons so I can't go into each coupon and exclude this item. …
George
  • 51
  • 1
  • 2
2
votes
0 answers

Some products not saving their cost price

On certain products on my Magento store it won't save the cost prices. It always re sets them to zero. Has anyone else had this issue? I can't see any difference between the products it is happening on. It seems to be on mainly older ones but not…
2
votes
1 answer

How to calculate price by attributes?

I created 2 new attribute and I want to use them to calculate price. I use this code but I don't know how to get the value of these attribute. Any ideas on the best way to do this? Thanks so much!
tuanptit
  • 339
  • 2
  • 5
  • 12
2
votes
1 answer

Special Price showing at a value of 35 lower in front-end

I am experiencing a strange glitch with low value products. If the difference between the price and the special price is below £35, the special price is showing as £0. If I change the price to more than £35 difference everything resorts to normal.…
Jonathan
  • 31
  • 1
2
votes
1 answer

Formatting finalPrice

I've been looking through guides and other questions, but I simply can't get the finalPrice formatted as I want. I would like to display the price with the chosen currency first and then the price with two decimals, e.g. as; $4.00 Im retreiving the…
McKeene
  • 501
  • 2
  • 9
  • 25
2
votes
2 answers

Price is being displayed with to many zeros eg 15.8900

I have created a block of code that will show a row of products if the user doesn't hit the free delivery limit. My only problem is the way the price is being displayed. it shows it like £34.9900 instead of just £39.99 like it does on every other…
Adam Allen
  • 2,205
  • 7
  • 37
  • 68
2
votes
1 answer

hide price when price = 0

I need to show a message such as "call us" for certain products. I cannot find any extension that works nicely with grouped products (which I use) - so making my own hack seems to be the only solution. I saw this thread: Hiding Price if 0 and using…
egg
  • 499
  • 7
  • 26
1
vote
1 answer

Schedule a price increase

All our prices are managed through an external integration so price increases have to be scheduled. Example: In January you have an original price of £30 and receive a price increase request that has to start from February (£40). All logic must be…
Claudiu Creanga
  • 6,247
  • 2
  • 49
  • 88
1
2 3 4