Questions tagged [price]

Questions about displaying and calculating product prices

Filter by
Sorted by
Tagged with
6
votes
2answers
2k 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
6answers
18k 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 ...
3
votes
1answer
608 views

Magento 1.9 - How to debug - Configurable product price changed to 0 if chooses colors attribute

I have configurable product if choose different color in products page price return 0, configuration : In my configurable productpage, Note : I am using this extension, https://pluginarchive.com/...
0
votes
2answers
9k 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 ...
21
votes
6answers
51k 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 ...
2
votes
6answers
12k views

Magento 2: How to remove decimal points from the price

I need to remove the two decimals from product prices on the frontend. For example, if the price is $49.00 it should be displayed as $49. Since my products have no floating points it is ok to remove ...
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')->...
3
votes
4answers
6k 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?
14
votes
7answers
19k 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
9k 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 ...
5
votes
1answer
4k 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.
1
vote
1answer
1k 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
6k 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
1answer
107 views

Magento2 display price range on PDP configrable product

I would like to display the price range for configurable products on the product details page. I have followed some references but no luck app/code/Vendor/ModuleName/view/base/layout/...
2
votes
2answers
3k 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
4k 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 ...
1
vote
5answers
17k 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')->...
1
vote
5answers
5k 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
2k 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
0answers
109 views

Magento 2 : Change product price when enter value in custom textbox

I added one custom textbox in product view page. Now, I want to do like when add any text it should be calculate price and update product price. and when I leave empty textbox it should be restore by ...
0
votes
1answer
211 views

Magento2 display configurable product price range on wishlist page?

I would like to display the configurable product Price Range [Min and Max] Ex: $10.00 - $35.00 on wishlist items from the customer dashboard. (Customer dashboard -> My wishlist items list & ...
6
votes
4answers
23k 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 ...
2
votes
3answers
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 ...
19
votes
6answers
9k 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 ?
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
13k 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
182 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
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> &...
3
votes
1answer
2k 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
1answer
955 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
3answers
7k 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
3answers
2k 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 ?
2
votes
2answers
6k 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
1k 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
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 ...
1
vote
1answer
171 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
1answer
154 views

Call to a member function getPriceType() on null magento graphql - addtocart

I have a simple product with custom options while adding to cart i getting error add a simple product to cart mutation { addSimpleProductsToCart( input: { cart_id: "...
1
vote
2answers
954 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-- ...
1
vote
2answers
855 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
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
3answers
5k 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
3k views

How to change the price in quote while adding product to cart?

I want to apply a custom price for the current order. I read that I should use sales_quote_add_item, But its looks like I am doing something wrong. I found some tutorials for magento1 but not for ...
0
votes
1answer
471 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 ...
13
votes
2answers
12k 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.