Questions tagged [price]
Questions about displaying and calculating product prices
1,610
questions
1
vote
1
answer
660
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
2
answers
2k
views
Change price at "checkout_cart_update_items_after"
I have some rules that change the price of product 'Z' if
the quantity of products 'X' is 'Y' In the cart, how can I check the quantity of a product in the cart and change the price of that product ...
2
votes
0
answers
410
views
get price in shipment email template in magento 2
I need to get customer order product price for Shipment email template in configurable products.
I had added magento-sales/templates/email/items/shipment/default.php
$priceHelper = $_objectManager-...
2
votes
2
answers
826
views
Magento 2: how to hide ''price' of custom option in products
how to hide ''price' of custom option in products
Magento version is : 2.2.6
0
votes
1
answer
312
views
Magento 2 Product Price for multiple store is not correct
I am using 2 stores,
Main/Default store is working fine but in second store, the price I am giving to product is not showing accurate.
In frontend it calculate and showing price by using this ...
1
vote
1
answer
50
views
Change product prices
I need to know where catalog and cart prices are called to display so that I can calculate discounts via php and call the same function to display on screen.
The prices in question are those of the ...
1
vote
1
answer
31
views
Magento 2 Add 35% price to product and 16% tax
Is it possible to add 35% more price to products in one category, and also add 16% as tax?
I want products from certain categories to have 35% more prices in catalog price, and then add 16% of taxes ...
2
votes
0
answers
487
views
Magento 2: Set Product final price using catalog_product_get_final_price Event
Using event catalog_product_get_final_price, setting the maximum price to be 100, if the price of a product is greater than 100 then it will set automatically to 100 and the product price is below 100 ...
1
vote
0
answers
501
views
Magento 2 how to update price on quantity change in product detail page using knockout
I am using magento version 2.3.2
I want update price based on Qty change using Knockout js in Product detail page
anyone help here, thank in advance
1
vote
0
answers
119
views
(Magento 2) Configurable product price doesn't change
Version : Magento 2.3.2
Theme : Cleversoft
Hello,
I have a product with it's variations (depending on the delivery).
On my product page, I have my button for chose the delivery option, but the ...
4
votes
1
answer
686
views
Rounding price issue - Magento 2.3.3
Magento 2.3.3 is behaving weird.
I have sample products. All have the same base price 0.30 €, tax is 19% VAT
But when my clients order the prices in the same order are sometimes 0.36 €, sometimes 0....
1
vote
0
answers
19
views
How to hide or disable the product price for all the pages in magento 2.3.2 [duplicate]
I don't want to use any commercial module for hiding price.
And i don't want hide by using templates.
Is there any way to hide price from entire site using plugins or rewrites?
2
votes
1
answer
122
views
How do I add "Pay as little as $/month" on product view page based on the final price?
I would like to display what the monthly payments would be for our monthly payment option, based on the final price of the product (including configurable products). Here is a screenshot of something ...
1
vote
1
answer
38
views
How to make last two digit price is always 00? Magento 1
I set $1 = 1150 KRW as currency rate. Is there any way I can show the last two digits of KRW is always 00?
For example, if the product price is $15.5(15.5 x 1150=17,820 KRW), but I want to show 17,...
0
votes
2
answers
100
views
Magento 2 how to show another text if price is > 2000?
I want to show custom text instead of the price if the product price is > 20000.
if price > 20000 then I want to show "contact for price" instead of price.
Also, I need to hide the add to cart ...
2
votes
0
answers
45
views
Magento 2 to avoid special price for b2b customer
I have used magento 2.3.1 enterprise edition.
I need to restrict the special price for b2b customers ( either to all the b2b customers or specific customer groups).
But for B2C customers, I need to ...
0
votes
0
answers
177
views
Magento 2 Swiss Currency Decimal digit Issue on Staging server only
We have multi-stores on our server in Magento 2.3.1
There is a currency format issue on the server only on cart success page and checkout page. We have Swiss currency setup and Decimal digit is ...
0
votes
1
answer
84
views
how to Remove the decimal number from price in Magento 2.3
We want to Remove the decimal number from price in Magento 2.3 ex. 100.00$ to be 100$.
Anyone know how to do it? Thanks in advance.
0
votes
1
answer
39
views
How to put group prices instead of regular prices
I want to show my group prices. Magento doesnt show my group prices if they are bigger than regular price.
I have differents prices for differents groups of customer, we are a wholesaler. So I only ...
1
vote
1
answer
1k
views
How to set special price for specific customer group
Guys I'm wondering how to add special price for specific customer group? For example, I have a group called "VIP", I want to set 10% discount on every product for this specified group only. Thank you ...
2
votes
1
answer
2k
views
Magento2: How can I format the price with two decimal places in the admin ui form field?
In Magento version 2.3.2 and 2.3.3, in a UI form, I have a field element input, of type price*:
<field formElement="input" name="price" sortOrder="60">
<settings>
<dataType&...
1
vote
1
answer
180
views
Mganeto2.3: getMaxPrice and getMinPrice not working give sql error
I try to get max price and min price from custom collection. Its working fine in magento 2.1.9 but after upgrade in magento 2.3.2 its give error.
See below Code
module block file,
class Wishlist ...
0
votes
0
answers
768
views
Price format count in upto 4 decimal points but display 2 decimal points in frontend
I want to display price in two decimal points.
If I enter 38.3445 in special price than I want output in frontend as 38.35 or 38.00 . But Magento display as 38.34 . Magento counts upto 3 decimal ...
0
votes
0
answers
33
views
Magento2: Get Bundle product Id in overridden function
I have overridden getValue() function of Magento\Catalog\Pricing\Price\FinalPrice
So how can i get the bundle product Id in this function.
When I try to get the bundle product id it giving me the ...
3
votes
1
answer
1k
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
1
answer
221
views
Magento2 set a price to configurable products depends on attribute
I have created a configurable products on my magento2 website. Now I have to set the price for associated products. I know how to set the price for single single attribute value but I need to set the ...
0
votes
1
answer
327
views
Product Price disappeared from frontend magento 2.3
Products Prices does not show up on my magneto 2.3 web frontend. https://prnt.sc/p9mu83
Mapping is set to No in stores->configuration->sales->sales.https://prnt.sc/p9mtre
What is the issue.
Prices ...
0
votes
1
answer
347
views
Found a potential bottle neck when reindexing prices in 2.3.2
I have a total of 7193 products in the catalog. 6704 simple and 489 configurable.
When reindexing, Magento iterates trough all price indexers and process them. I added some debug messages and found ...
5
votes
2
answers
3k
views
Magento 2 how to override the special price
all can you help me how to override a product's special price? I want to unset Special Price if that product does not meet my condition.
I was able to override Price to my custom value, but if there ...
0
votes
0
answers
144
views
Configurable Product Price field show only readonly in M2.3 admin panel
I am facing Catalog Price field not Editable. it shows only read-only.
Under Catalog=>Products
Show all Products Grid Section price are shown.
But edit specific product details field, not able to ...
2
votes
0
answers
147
views
Magento 2.X: Display save price of configurable product
I am working in Magento 2 I have display save the price of the simple product in category page, the home page, product page but I can not display save the price of configurable product
example: ...
0
votes
0
answers
437
views
Magento 2 - Format Price in Product detail page with locale currency symbol
I need to format my custom price on product detail page.
I've already refer this KO Template and Using Javascript question but both have same solution of using quote.getPriceFormat() for formatting. ...
0
votes
1
answer
145
views
Wrong price in url while using price filter - Magento 2
I'm using Magento layered navigation. While I'm trying to filter by price it's getting wrong value in the URL. Like I'm trying to filter from $2.00 to $4.99 but the URL got 2-5. What I want is either ...
9
votes
6
answers
2k
views
Magento 2: Changing Price of Product in Controller doesn't work at the moment!
I tried to change the Price of my Products like this:
Controller.php:
[EDIT]
<?php
namespace MassiveArt\ShoppingCart\Controller\Index;
use Magento\Catalog\Model\ProductFactory;
use ...
0
votes
2
answers
1k
views
Magento 2 Round off layered navigation max price in the price range
I want to round off the price range values in the layered navigation. Now it is showing as below
$40.00 - $49.99
$50.00 - $59.99
$60.00 - $69.99
$70.00 - $79.99
$90.00 and above
I want the following ...
0
votes
1
answer
849
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
1
answer
796
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 ...
0
votes
2
answers
91
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 ...
0
votes
0
answers
41
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
0
answers
94
views
Magento 1.9 : Custom option not work in product page
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 ...
0
votes
1
answer
163
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
0
answers
150
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 ...
1
vote
1
answer
460
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() ?
0
votes
0
answers
26
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
1
answer
27
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
2
answers
39
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 ...
1
vote
0
answers
58
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
1
answer
207
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
1
answer
765
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
1
answer
463
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