Questions tagged [price]

Questions about displaying and calculating product prices

499 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
1k views

Shopping Cart total percentage discount when specific item is in cart

I have a specific type of shopping cart rule I'd like to create. You can think of it as a 'variety discount'; the more products from different categories the customer has in their basket, the greater ...
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 ...
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. ...
6
votes
0answers
442 views

Magento2 : Display MSRP with MAP disabled?

In Magento 2, if I set 'enable MAP' to 'No' in Stores > Configuration > Sales > Sales It removes the MSRP field in Advanced Pricing from the product page. My goal here is to display MSRP on the ...
5
votes
2answers
457 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\...
5
votes
0answers
713 views

Ways of keeping Configurable product pricing consistent with Simple product pricing

By default, Magento ignores the Price set within the Simple product which forms part of a configurable (unless the Simple item is added to the basket rather than the Configurable). Many organisations ...
5
votes
0answers
1k views

How To Modify Tax Calculations in Magento 1.9

For Testing - Learning purposes I would like to modify Tax Calculations in my magento installation. (not for production so no problem to modify core files). Based on the fact that Taxes are displayed ...
4
votes
0answers
85 views

Rounding all product price after tax

I want to round all product prices in store after tax including . How can i do that with plugin ?
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 ...
4
votes
4answers
794 views

best practice to connect Magento 2 to price/product service

I have my own price/product service that I need to connect to Magento. The service has a variable amount of products with very variable prices. The price can change with every request a customer makes....
4
votes
1answer
836 views

Configurable product super attribute Integrity constraint violation error

I have a script that create new configurable product, but I get an error when I try to save the super attribute price configuration, here's my code: function createConf(){ //other code before... $...
3
votes
0answers
110 views

Magento 2 Checkout Page, different price setup

Currently I'm on a magento project and somehow, I can't understand the logic behind this last page. The Currency that I've got is EURO, and in the /vendor/magento/zendframework1/library/Zend/Locale/...
3
votes
0answers
160 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 ...
3
votes
0answers
732 views

(Solved) Magento 2.2.2 - Update product price per website programmatically not working

I'm trying to import product prices from an XML file, which contains prices in two different currencies for the same product (EUR and DKK). I've created a website for each currency and set the "...
3
votes
0answers
926 views

Magento 2.2.1 Bug price by customer group not working after add to cart

Magento 2.2.1 Bug price by customer group not working after add-to-cart I have set product price based on customer group so if wholesalecustomer is logged in then price will be 20$ and the general ...
3
votes
0answers
304 views

Magento 2: Disable cache for price block

I want to disable the cache of the price block in detail page. However, I cannot find a place to modify it. I try to add cacheable="false" in module-catalog\view\base\layout\catalog_product_prices....
3
votes
1answer
722 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 ...
3
votes
2answers
855 views

Negative price filter in layered navigation

I'm experiencing a strange issue here where the price navigation filter (layered navigation) somehow came up with negative price ranges. If I flush the price tables it seems to solve the problem, ...
3
votes
0answers
2k views

Special prices not showing in product pages

hope you can help me. Using 2.1.7 CE. Site is ready to go live except one frustrating issue I can’t work out. I have just moved to production mode and turned caches on. Since then: Special prices ...
3
votes
1answer
93 views

Magento 1 : How to disable product price update on the front-end when changing a product Qty

I want to disable the price update with qty. In default magento price calculation is "Product PriceXQty". I want to disable it and total price in the cart is product price only.
3
votes
0answers
247 views

Magento 2 : Can We Convert Price Into Ceil Price

I have setup multi store view with multiple currency. Everything is working as expected. Now, I got requirement to convert all prices into ceil. (e.g, SR20.02 = SR21). For this task, I have ...
3
votes
0answers
1k views

Magento 2 : How to Update Price After Changing Qty On Cart

How to update price after qty changed by dropdown in magento 2. I changed qty input type to dropdown like below code in default.phtml: <td class="col qty" data-th="<?php echo $block->...
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 ...
3
votes
0answers
447 views

Magento2 price per store view

In a project im working on it is crucial to be able to set a price per specific store view. I have already tried BSS Commerce extension. but it is not working that well and is badly supported. In ...
3
votes
1answer
716 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 ...
3
votes
0answers
881 views

Magento2 Update price automatically when quantity changed on product page

How can I update product price and custom options when user change the quantity ? If quantity belong to tier price, price should be update accordingly. Actually I am not able to get the product price ...
3
votes
0answers
192 views

Recurring Profiles - Ajust Trial Period Amount to Quantity

I have a recurring profile set up for a product with a 2-weeks trial period configured as follows: Trial Billing Period Unit = 2 weeks Trial Billing Frequency = 1 Maximum Trial Billing Cycles = 1 ...
3
votes
2answers
989 views

Custom Attribute in Layered Navigation

I have a custom attribute called m2_price, which is the Metre Squared price of a piece of carpet. I've enabled it to be filterable with results in the layered navigation and this all works fine. ...
3
votes
0answers
927 views

Adding a cost record (attribute) to Magento's Tiered Price in Admin

Below I have submitted a picture of the section I am looking to modify. I need to add a custom price record to each tiered price. Magento has a record for cost of an item, however, my particular ...
2
votes
1answer
37 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 ...
2
votes
0answers
37 views

How can I remove “As low as” in Magento 2.3.1, if all the prices of the variants are the same?

How can I remove "As low as" if all the prices of the variants of the configurable product are the same? It doesn´t make sense to me to show "As low as" when all the colors and sizes are equally ...
2
votes
1answer
34 views

Why magento2 Layered Navigation Price slider starts with Zero?

We are running Magento2.2.7. When we go to PLP, the price slider navigation starts with Zero. Even when we click/select a range of 0-0 , still it shows some products.
2
votes
0answers
13 views

How to have irregular price filter ranges?

If I configure manual price ranges, I can define the step, but that step is a constant for all ranges. Is there a way to have, for example, USD 1 to USD 199 USD 200 to USD 499 USD 500 to USD 5,000 ...
2
votes
2answers
64 views

M2.3.1 - Remove currency symbol from price

Is it possible to get the price without currency symbol, or a way to put a div around the currency symbol to hide it with css? $block->formatCurrency($block->getDisplayValue(), (bool)$block->...
2
votes
0answers
32 views

Different discount for category products

I want to know is there a way to get different discount for the products in the same category if quantity exceeds a limit. For example: I have these products with these prices: A=10 B=15 C=12 And ...
2
votes
1answer
148 views

Magento 2 Add discount on bundle product on add to cart time

I have to add some discount programmatically on the time of bundle product add to cart. So far I have developed the catalog product plugin Magento\Catalog\Model\Product function afterGetFinalPrice ...
2
votes
0answers
38 views

How can I differentiate between B2B and B2C?

I would like that in some step of purchase of Magento 2.2.4 could filter depending on the price that is in the cart and ask me some fields or not, I make an example: Final Client B2C: When the ...
2
votes
0answers
25 views

How to achieve single domain > multiple stores > different products and prices per store

I need to build out multiple Magento 'stores' on a single website, with each 'store' representing a unique partner who offers a different combination of products from our global catalog. For example,...
2
votes
1answer
31 views

Custom configurable product pricing property

Is it possible to have a product attribute like 'custom price' that is global and can be set on a configurable product in a way that the price for the item itself can be pulled from that field and ...
2
votes
2answers
463 views

How to check final price or special price is valid or expire on magento 1.9

I am trying to add a condition for checked the special price is valid or not for list page but did not able to find.
2
votes
0answers
80 views

Why the total product price in the shopping cart does not include the different product options selected?

Here is the issue that happened since my Magento installation has been restored. The shopping cart should normally include all the product options selected but since the restoration, only the product ...
2
votes
0answers
26 views

How do display the firstItem/Maximal Price in Configurable products? Anyone? programmatically Magento 2.2.3

so I have Configurable products with associated simple products, and the Configurable product displays the least expensive simple product within each configurable product associated in Catalog. So ...
2
votes
0answers
174 views

Magento 2.2.4 into Change Price Calculation from round to ceil (means if price 0.0001 then it will become 1.00)

I changed price rounding calculation from round to Ceil (PHP function). Its Means if price 0.0001 then it will become 1.00 Now the problem in price calculation. Example:- Product Price = 8249.25 5%...
2
votes
0answers
38 views

Currency Converter

We have a problem in our webshop that the currencies switch with each other. The prices are Swedish Krona and Euro (we have two separate websites where the currencies are used). Only some products ...
2
votes
1answer
2k views

How to override price html on product list page

I am writing a custom module for magento 2 i.e "call for price" and I want to override price html on product list page. I have follow the following scenario: 1.etc/di.xml <?xml version="1.0"?...
2
votes
0answers
1k views

Magento 2 filter products by price from Rest API

Magento-2 we would like to filter the products from REST API I have filtered product by price in the frontend please check the result in the below screenshot (24-MB02 price and special price we ...
2
votes
0answers
305 views

magento 2 override pricing for configurable product

I need to override magento 2 pricing for configurable product. Can you please let me know which is the best way to do this.
2
votes
0answers
296 views

Magento 2 override associated product price (configurable and it's child)

I have all configurable products on my website and I want to add the extra charges (after some calculation and conditions) to product price by overriding method or anything else which follow the ...
2
votes
0answers
123 views

How to add extra price on configurable product and it's child (Simple Product) magento 2x

How to add extra price on configurable product and it's child (Simple Product) magento 2x like this : ($1.95 for configurable and $1.25 for it's child) I want to add this price on frontend. After ...
2
votes
1answer
501 views

Magento 2 base price with currency

I will try to explain as much as I can. Take note: We use the website as a view site only and no checkout is complete with the website. We use magento because it give us good module and easy ...