Questions tagged [price]

Questions about displaying and calculating product prices

Filter by
Sorted by
Tagged with
5
votes
2answers
552 views

How to set custom tax price during add to cart in Magento 2

I am adding product to cart using ajax call. Here is my controller code. use Magento\Framework\Controller\ResultFactory; use Magento\Framework\App\Action\Action; use Magento\Framework\App\Action\...
8
votes
5answers
13k views

How to change currency format in Magento 2?

Currently the price shows like $2.999,00 I want the price to show like $2,999.00 for locale es_MX (spanish, Mexico) in product pages, anywhere else the currency format is correct. I've tried all ...
21
votes
6answers
47k views

Magento Configurable Product Price Overriding Simple Product Price

I have products set up identically (as far as I can tell) and they were all imported with a universal CSV template. Configurable price is 29.99 Associated Simple Product Short Sleeve is 29.99 ...
6
votes
3answers
13k views

Magento display tiered pricing for each product on cart page

I am having an issue getting the tierPriceHtml to display for each item on the cart page. This is what I have inside checkout/cart/item/default.phtml: $custom = Mage::getModel('catalog/product')->...
1
vote
5answers
9k views

Magento 2 : How to remove decimal points from the price

I need to remove two decimal points from products price on frontend for an example if price is $49.00 it should be $49 all prices I have is rounded so it does not matter the removing last two decimal ...
1
vote
1answer
826 views

Products Type : Grouped Product - How can i create discount for grouped product

I need to add discounts price for grouped products. eg : item : 1 = 10, item : 2 = 20, when Item add to cart how can i display total amount is 25(discount is 15 %), My Workout : screen shots : Its ...
0
votes
2answers
5k views

Is it possible to update order item price and order total after order is place

Hi want to update order item price and grand total and order details after order is placed. suppose,I have place an order with item Item A - order item price $10 Item b - order item price $20 ...
0
votes
2answers
7k views

Changing the display of custom product price to show 4 decimal places

My company is using an extension to create a custom product which is unique in that the pricing goes out 4 decimal places. There was a whole lot that went into this prior to me getting involved, but ...
13
votes
7answers
14k views

Magento 2: How to remove price decimal [duplicate]

How to remove the price decimal from Front end price display only on the category and product pages ?
11
votes
2answers
6k views

how magento getting configurable product lowest price of associated products?

In view page by default magento displaying lowest price of associated products. I need to display highest price of associated products. Any one have idea where the logic is reside.how to customize ...
4
votes
1answer
3k views

Magento 2 display configurable Price Range in product listing

I want to display price range for configurable products instead of the minimal price in category listing.
18
votes
6answers
8k views

Magento 2 - How to retrieve product informations

I want to use functions like getName(), getPrice(), etc. of product to retrieve product information in Magento 2. Can anyone show me how can I achieve that ?
2
votes
2answers
2k views

overriding/extending price-options.js does not work

I need to override/extend the file price-options.js. But it does not work, I always get the error TypeError: undefined is not a constructor on this line $.widget('myCompany.mypriceoptions', $....
14
votes
2answers
3k views

Why does Magento store a rounding delta when calculating taxes

In the model tax/Sales_Total_Quote_Tax, there is a method _deltaRound() that rounds a price. It adds a small delta, to stop nondeterministic behaviour when rounding 0.5. /** * Round price based on ...
3
votes
2answers
4k views

Magento 2 : How To Show Price of “out of stock” Products

I want to show the price of product, that is "out of stock". Currently it is not shown price for the products in my magento 2.1.3 installation. How to make visible it?
1
vote
5answers
4k views

Tax rounding and catalog price rules

On my store we have a product that costs £2.95 including tax (at current UK rate of 20%). The tax seems to calculate fine here. However, I then have a Customer Group that gets 30% off, which should ...
1
vote
1answer
1k views

How to add some text before price in product detail page in magento 2

How to add some text before price of product in product details page . for example:- price - $200.00. Guys any suggestion from your end.Thanks
1
vote
5answers
16k views

How to get price without currency symbol?

How can i echo grand total without the $ symbol attached to it? Am using the following code to display grand total echo Mage::helper('checkout')->formatPrice(Mage::helper('checkout')->...
6
votes
4answers
22k views

Is it possible to have different price and currency per product and per store view?

I have setup multi-site in Magento. I have one Website with two Stores and one storeView per Store. StoreA is in GBP, StoreB is in Euros. I have productA which I would like to sell for £99.99 from ...
3
votes
2answers
6k views

Layered Navigation price filter attribute multiselect check box

I am working on Layered navigation of Magento. I want to implement the following: Price filter with multiple check boxes. Kit type with Radio buttons. Ratings with multiple check boxes. The same is ...
1
vote
4answers
3k views

How to change the product price with a plugin in Magento 2.1?

UPDATE After a lot of debugging I found out that the plugin is loaded on the product detail page but not in the checkout. It seems that the checkout gets the values from somewhere before so that is ...
12
votes
1answer
14k views

How rendering of price.phtml in catalog product listing page is happening?

Catalog Product listing page's template file is list.phtml. Where the rendering of all the products in category happens using foreach loop. I am confused about the rendering of the price.phtml. ...
9
votes
4answers
12k views

Get Price of Configurable Product options

I need to export all products with prices from Magento 1.7. For simple products this is no problem, but for configurable products I have this problem: The price exported is the price set for the ...
5
votes
2answers
4k views

Hiding Price if 0

This seems like it should be easier then the results Im getting. Im not a PHP expert but I've got a product(s) that will be a different price and therefore am trying to set it up so when it's in my ...
3
votes
2answers
9k views

How to display MSRP / RRP on product page

I'm looking to display the value I have set in "Manufacturer's Suggested Retail Price" on the product page. I was hoping it was going to be as simple case of adding something like the following to ...
1
vote
0answers
2k views

How to Remove comma from price in spanish locale for magento 2

Website with two Stores with different language. 1. English Language 2. Spanish Language I have issue with Spanish Language store Price/Currency display as decimal Comma instead of dot. Please ...
0
votes
1answer
169 views

Price Not display pdf and website

Indian Rupee not display in pdf also My system Front end also I try some other system in frontend working but downloading Invoice pdfit shows ₹ I check all tutorial still same no changes. ...
9
votes
2answers
1k views

Price more than 100 million

How to set a price more than 100 million? Tried this solution http://www.magentocommerce.com/boards/v/viewthread/210738/P15/#t454441, but no luck. Now I can set price more than 100 million, but on the ...
4
votes
1answer
5k views

Custom price.phtml file for product view template

How do I create a custom price.phtml file and display it on the product view page? Use case: I have updated the price.phtml file under product > view to add rich snippets / structured data. And, I ...
3
votes
1answer
802 views

Display seller names according to their selling Prices

we have marketplace multi vendor/seller site. In our site lot of sellers have same Products, so in Product view page we display all sellers. assume a Product is uploaded by seller "kidsdial4" , ...
3
votes
1answer
1k views

CE 1.9 - Configurable product “As low as” price wrong

I'm using CE 1.9.2.1 and have tested this on a vanilla installation of Magento. This issue only occurs when my products are associated to multiple websites. I have applied a price adjustment to two ...
3
votes
2answers
6k views

Magento : disable cache for static block

I have one file that called from static block in which i display product information on menu. {{block type="core/template" title="BEST SELER!!!" sku="ASS030530010" template="catalog/product/...
3
votes
2answers
5k views

Observer not firing

Can you see why my observer is not firing? config.xml: <?xml version="1.0" encoding="UTF-8"?> <config> <modules> <Caitlinhavener_Dynamicprice> &...
2
votes
2answers
958 views

Automated category sort by sale

I would like to make automated category, where I want to have all catalog products sort by discount price percentage from the highest discount to the lowest. Could anyone help me? I tried many ...
2
votes
2answers
5k views

Rounding products prices in magento?

I create a new product and type price= $1.2222. But when I click Save and Continue edit the price = $1.22. I don't want to round the price, i want the price=$1.2222. How can I do that? Thank you!
2
votes
2answers
2k views

Magento 2 : At Which Place Final Price of Product is Set for Globally?

I want to know for Entry point of Product final price calculation, those will be used globally in site like listing page,catalog page, shopping cart page,minicart. I have to customize for product ...
2
votes
3answers
1k views

Magento 2: How to hide the price for guest user only wholesale group user can see price

How to hide the price for guest user only wholesale group user can see price in is there any script or code or some free extension please suggest ?
1
vote
3answers
17k views

Retrieve simple product price for configurable product

We have a configurable product called with sku TEST and under it are simple products (for example) red-ven1, red-ven2, blue-ven3, etc. The configurable product itself does not have a price but each ...
1
vote
2answers
818 views

Upgraded from 1.9.2.4 to 1.9.3 Bundle “Price as configured” Price Shows Zero

I just upgraded from 1.9.2.4 to 1.9.3 and having a problem with the Bundle "Price as configured" price. The problem is it always shows zero no matter which bundle sub-products are selected. It was ...
1
vote
1answer
130 views

Showing certain product price on an cms page

So I am trying to show a certain products price on an cms page. Is there anyway that I can do this? I have a hardcoded landing cms page and I wanted to display dynamically a price of a certain ...
1
vote
3answers
2k views

Format price decimal points

I've displayed item's price (both old price and new price) using this code, <?php echo $_item->getProduct()->getPrice(); ?> But when I see the page, it displays price with 4 decimal ...
0
votes
1answer
367 views

As low as price wrong on Product Listing Page After Magento Upgrade

i have upgrade my magento from 1.7.0.2 to 1.9.3.2. i am facing issue with As low as price on Configurable Product Listing Page . currently price deduct price of custom option 2 times. any help ...
0
votes
2answers
842 views

Getting Wrong Maximum Price For Configurable Products

I am trying to get final price for price slider but it is showing me wrong price. See below images, Price should be 4000/- for right slider but it is showing me 2000. Input Price-- Output Price-- ...
13
votes
2answers
11k views

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.
7
votes
6answers
5k views

How to override final_price.phtml in magento 2?

I want to override final_price.phtml, I have tried following in my module but it is not working. I have created app/code/MyVendor/MyModule/view/frontend/layout/catalog_product_prices.xml <layout ...
5
votes
4answers
12k views

Magento2 How to get configurable option and its price?

I am trying to pull configurable products option and price on product detail page on seprate section. on radio button. I've used below code to get detail of options but i can retrive price of options. ...
5
votes
2answers
3k views

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 ...
2
votes
2answers
3k views

Magento2: show price for out of stock configurable products

Following this guide Magento 2 : How To Show Price of "out of stock" Products I successfully managed to show price for out of stock products. But this applies only to simple products. For ...
4
votes
1answer
4k views

COGS (Cost of Goods Sold) Tracking in Magento?

What is the suggested method for tracking COGS for products within Magento? We have recently learned that it will be necessary to track the inbound cost of each item that is sold in the store and it ...
3
votes
2answers
4k views

How can I remove “As low as” in Magento 2.2.4

Since the upgrade from 2.2.3 to 2.2.4, I got new function next to the price of each product. Which is: As low as. How can I remove it? I can't find and option in Admin panel to switch it off. Any ...