Questions tagged [price]

Questions about displaying and calculating product prices

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

what is the use of _merge_before and _merge_after event in Magento 2

I want to know the difference between following Magento 2 events 1)sales_quote_add_item 2)_merge_before 3) _merge_after and how I can use the event in event.xml sales_quote_add_item and ...
2
votes
1answer
22 views

Magento 2 I want to set a custom price of a product programmatically but only for this one session

I have a little problem because I first add some products into the cart -> this is working. But I also need to change the price of this products I add. The problem about that is, that I only want to ...
1
vote
2answers
2k views

How to get price for configurable product

I have configurable products like I created observer and I got the price Default price is for 1kg but customer can change the weight and flavor. When customer changes weight and flavor price ...
7
votes
3answers
1k views

Update prices of all simple products via their configurable product in Magento 2

I'm new to Magento 2, and understand this is a change from Magento 1. Example: I have a T-Shirt as a configurable product with colour options as Simple Products. These Simple Products all require ...
0
votes
2answers
35 views

Round Special Price displayed in Catalogue pages (Product Listing Pages) - Magento 2.3.2

Magento 2.3.2 - I have set discount through Catalog Price Rule. And so in Catalog pages (Product Listing Pages) there are two Prices displayed 1) Regular Price 2) Special Price (discounted ...
7
votes
5answers
2k views

Update price in checkout page without refresh Magento 2

I have a controller where I apply some discount on the checkout page. Now, I can see the price change just after I refresh the page. I search for a solution, to refresh the price using a Js file. ...
0
votes
0answers
21 views

Mag 1.9 change color of PRICE

I am trying to change the PRICE of all displays (catalog, product, shopping cart) from #66c7f1, a difficult to read blue, to black. Where do I do this? I have searched the .css, .scss files, changed ...
0
votes
0answers
25 views

Magento 1.9 : When i add custom options, price show 1

I have a product that has multiple prices When I do not set the custom option, for example, 1400 will be displayed But when I customize the option, the 1400 number becomes 1 But in the basket ...
3
votes
1answer
416 views

Magento2: Tier price higher than regular price

I figured out that if you set a tier price higher than the regular price, it will show the regular price anyway. Seems this is the "normal" funcionality, always show the lower price if it's possible. ...
0
votes
0answers
50 views

Magento 2 product page price rounding up on new store view

I've created 2 store view under 1 wesbites->stores store view 1 = default has Euro currency. store view 2 = Swiss has Swiss franc currency. I've added a product on both store view now ...
1
vote
2answers
370 views

How to get currently selected product id of configurable product on view page?

I need to change name, price, SKU and more when options are clicked. So I need the product ID of the selected option in the product view page. I have a Custom phtml file to write my own alteration in ...
0
votes
1answer
25 views

How to remove previous price of products

I am using magento 1.9 , i want to know how to remove the previous strikethrough price of products as shown here https://prnt.sc/orfv5b
0
votes
2answers
805 views

Magento2 multi-store price-per-website: Wrong price indexed for configurable products

I have a multi-website Magento 2.1.0 CE installation, with 2 websites and different prices per-website. Prices are note related to each other, for the same product across the two websites. In product ...
0
votes
1answer
603 views

Magento 2 - how to set final price for product on view page

Magento frontend product view page i need to set custom final price, how to set? I tried Magento\Catalog\Model\Product\Type\Price.php in this file getFinalprice function but not working with plugin ...
13
votes
2answers
191 views

Magento 2: Layered Navigation Price Filter Not Working After Applied Custom Product Discount

I working on a product discount module. I did it via plugin and observer. it's working fine on product page and list page. But price filter is not working according to the updated product price. Here ...
3
votes
1answer
714 views

Magento2 tier price on configurable products

I have an configurable product for example T-Shirts in size small, medium and large. And all have same price and we have tier price like: Buy 10 for 5.50 and save 10% Buy 20 for 5.00 and save 20% Now ...
2
votes
1answer
560 views

Override price sorting to use max_price in list view?

In a category that's only listing grouped products with several associated products each, I'd like the price sorting to use the max_price. Seems like it's using the min_price by default. Is there an ...
0
votes
1answer
191 views

Multi-site Group-pricing & Special Pricing

When creating group pricing on a multisite install, we just use ALL WEBSITES. We have a lot of 'websites' but only 1 or 2 have special or customer group pricing. In terms of speed & performance,...
0
votes
0answers
40 views

Original Price And Special Price Issue in Magento 2

I want like this If original price is higher than the special price than original price should be hide in product details and throw out the check out page. Can you please let me know where to add ...
0
votes
2answers
28 views

Hide Prices everywhere but allow ordering

We have a client who is using a legacy developed webstore, but we are looking to move them to magento 2. They currently have a web store with no pricing features, as each client has a different ...
0
votes
1answer
609 views

Magento 1.9.3.1 option price not update total price

I have an issue on simple products with option. When selected the option the price not update. I need help to solve it. This is my options.phtml : <?php /** * Magento * * NOTICE OF ...
0
votes
1answer
47 views

Magento2- How to get the price (product price+ static price) without catalog price rule applied

Magento2- How to get the product price without catalog price rule applied. I want to add an additional price percentage to all the product before the catalog rule applied. Basically what I want is : ...
0
votes
1answer
15 views

Magento2.1 configurable price

I have a custom theme, in configurable products when i choose variation price doesn't change. Which files should i override?
0
votes
0answers
22 views

What to do in order to allow hyperinflationary currencies? (How to increase decimals limit)

We have to allow in our multi-currency site currency that's very hyperinflationary. Base price for products are set in USD but We have some products shown in VEF that are very close to Magento 2 ...
0
votes
1answer
39 views

What will be the $product->getFinalPrice()?

A configurable product having prices as [10,12,15,15]. What will be output of the $product->getFinalPrice() ?
7
votes
6answers
4k 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 ...
3
votes
0answers
157 views

How to get final price of a product by rest API?

I mean the final price that Magento calculated and inserted in catalog_product_index_price table. It may have applied special price/catalog price rule/tier price, which price is displayed to customer ...
0
votes
0answers
8 views

Find product_id with data of a specific magento table

catalog_product_super_attribute_pricing I need to find the product_id using data from a specific table. I need to change the way the price of the product is calculated and for that to act directly on ...
0
votes
0answers
19 views

How to create price list in magento2.3

I want to create pricelist like category page without images. Mean that want a list page with list view to show SKU product name Guaranty and color with price and a button to show product. with ...
0
votes
3answers
647 views

how to set similar custom option for all products once?

I have many categories like rings, pendents, chains in my site. the products under category rings have custom option like Quality grade - A, B, C .... size - 5,6,7 ..... metal - Gold ,...
0
votes
2answers
1k views

need to create shopping cart price rule for buy 2 get 5% off and buy 3 get 10% off

I wanted to give an offer to the users. If they buy the same product with qty 2 then 5% off and if they buy 3 then 10% off. I tried it with shopping cart price rules but only one shopping cart price ...
0
votes
3answers
607 views

Magento 1.9.3 invoice product price including tax

I want to display product price including tax on invoice totals. Every product has name, quantity, price and row total. I got all except the price. Right now I have <td align="center" valign="...
0
votes
0answers
24 views

configurable prices shows 0 on category page when MSI enabled + magento 2

Configurable product price showing 0 instead of showing the minimum price on category page When MSI enabled. As I found that It is happening due to stock configuration ie. if display out of stock ...
0
votes
2answers
785 views

How to show currency symbol and price in separate elements?

I want to show currency symbol and amount in separate html elements such as: BD18.00 into this: <span>BD</span><span>18.00</span> is it achievable?
3
votes
1answer
1k views

Special Price with Configurable Products in Magento 2

We have been converted some Configurable products from Downloadable products. But have an issue in there, we can't be set Special Price(link open the modal set Advancing Pricing is hidden) and very ...
4
votes
1answer
602 views

Magento 2.1 update special price dates programmatically

I have a problem updating the special price dates of a simple product. I've tried 2 versions of code, but without results. In both cases the special price will be update, but no affect to the start ...
0
votes
1answer
45 views

Magento2: How can update the product price using before plugin

I want to update the product price using plugin and I tried the afterGetPrice() plugin its working fine in normal case but showing wrong price calculation when catalog price rule applied, I want to ...
0
votes
1answer
383 views

Magento 2: change price section in sales email template

i tried to remove a price section from orders emails. For example for new order email e receive a FPT price which I want to be removed For this, I found that this price came from magento/module-...
0
votes
2answers
52 views

Magento2-Send email notification to main admin when price changed by admin

I want to send eamil notification to main admin, for modification avail in price by any admin. Please help, Thank You in advance.
0
votes
1answer
36 views

Magento 2 GetFinalPrice issue to fetch correct price

When passing the Id of Simple product then it's working fine but when passing the Id of child product then it's not working, It will not show the correct price of the product
0
votes
1answer
1k views

Special Price From Date and Special Price To Date not visible in backend M2

I am working on Magento Enterprise 2.2.5, I want to set special price for some products but Special Price From Date and Special Price To Date is not visible. Can someone have idea how we can add these ...
0
votes
1answer
24 views

Only round the grandtotal price

Due to the business logic and requirement, I need the order item price not to be rounded. Because if you are purchasing the product with high quantity, the loss could be numbered. E.g: Product price:...
2
votes
1answer
657 views

Apply custom discount to admin order

I have a client that would like to do the following when creating an Admin Sales Order (without creating a Price Rule); Give £10 discount when ordering 4 of Product A (Unit Price: £10). At present, ...
0
votes
1answer
12 views

M2 - Use price for calculation

On the product detail page I need to use the price for calculation. How can I get the price and use it for calculation? For example; $product_price / 12 = $outcome
3
votes
1answer
715 views

Magento 2 override Pricing\Price\ConfigurablePriceResolver how to solve?

Hi I'm using Magento 2. I'm trying to override Pricing\Price\ConfigurablePriceResolver by adding a plugin or preference in the app/code folder but I can't make it work. I need to replace the ...
0
votes
0answers
27 views

Add suffix to price in Minicart

We have a client that wants to add a suffix to price in mini-cart which depends on a value of custom product attribute (named pack_type). I have already done that for Product and Cart pages by ...
0
votes
1answer
656 views

Magento2 How to show wholesale price for product, if customer is logged in as wholesale customer group?

I have the setup of Magento2 Store. We are using tier pricing for customer groups. So if the customer is associated with the (wholesale group) and logged in, the customer must see the only wholesale ...
0
votes
1answer
608 views

Product price attribute is not showing up on details page

The prices of my products are showing up in the grid results, but when I open them up as a detail page, there is no price. I found out when I save the product (without changing anything) it's fixing ...
0
votes
1answer
739 views

Magento 2 - Rounding Float Values to Currency Precision

Currently I have stored values based on percentages of order subtotals out to a precision of 4 decimal places in the database. I need to show a balance as a total sum of those percentages. I have an ...
0
votes
2answers
126 views

I want to hide tax price details in order_email_template.How to do it in Magento-2.1?

I want to hide tax details from order_email_template in Magento-2.1. For comment this code in \vendor\magento\module-sales\view\frontend\layout\sales_order_email_items.xml: <block class="Magento\...