Questions tagged [price]

Questions about displaying and calculating product prices

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

Get Product price by customer Group magento 2

I am trying to get Product price by customer group. Used below code. $sku = 123; $customerGroup = $this->getCustomerGroupId(); $currentProduct = $this->loadProduct($sku); $productPrice = $...
2
votes
3answers
8k views

Set product price with multiple websites

I have setup my Magento with 2 websites, with ID 1 and 4, and one store for each website. Default website is 1. My product has a Default price. How can I set programmatically a price for website 4 ...
2
votes
1answer
72 views

Restrict user access to viewing prices in the admin panel (acl)

how to implement functionality that will hide product prices from the user group. I've seen such a feature in an entrepreneurial Magento, but I can't figure out how to implement such a functionality.
1
vote
1answer
31 views

How to disable price block from admin grid if this blocked in ACL

In this question https://magento.stackexchange.com/a/324446/92235, there is an excellent solution related to hiding the price from a specific user group. But this one does not hide the price from the ...
1
vote
2answers
133 views

Magento 2 - How Can I Send Success and Error in JSON and from Frontend update product price and enable/'disable?

Ajax runs on page load i want to run it on button click. I create one Module and make a custom tab which is display some product with name and price and if the product is enable/disable. I want that ...
1
vote
1answer
5k views

How to setup different prices for same product for magento 2 store view?

We are currently running one website, one store, two store views (languages) for example one default store and second create new store Magento 2 install. But I want to save prices multiple store views ...
1
vote
1answer
87 views

Magento 1.9.4 - Plugin recommedation for changing category prices

Good morning, i need a module to change all product prices for a specific category. Example: I want to increase / decrease the product prices for all articles of the category "towel" by 2% or 3,5€....
1
vote
1answer
2k views

Magento 2 : set custom price in product when add to cart

I see some answers about set custom price in product when add to cart. But, I can't still solve my issue. I used observer for that to set custom price. But, it's not working. Can anyone please help ...
1
vote
2answers
1k views

Magneto 2: Need to remove decimal from price on product detail page

I want to remove the decimal in price on product details page. Although it removes in listing page, but still showing decimal in discount and final price on product details page.
1
vote
0answers
744 views

Show Regular Price (old-price) in Addition to Special Price of Bundle Products [closed]

We apply a special price or a promotion (catalog price rule e.g.) to the bundle or to a containing product. Is it possible to show regular and special price of a bundle product like in standard simple ...
1
vote
2answers
622 views

Magento dynamic product price

Does anyone know how to make a product with not fixed price? By default the product price is $1. But it can be changed by user dragging a price product slider (the product is a donation product). So ...
1
vote
1answer
1k views

Magento 1.8 Product Sorting by Price not uniform for Single and Configurable products?

Take a look at http://goo.gl/N2ZzzZ If I do a sort by price, ASC or DESC, the product sorting is all over the place (just compare the $ values). Probably because some of the products are single ...
1
vote
1answer
944 views

Catalog Price Rule - discount issue (possible rounding problem?)

SOLVED - see edit below I have a Product where the Price is £14.99. I have applied a Catalog Price Rule 50% off and the new price is showing as £7.00. I would expect it to be £7.49/£7.50. If I knock ...
1
vote
1answer
3k views

how to get min/max regular price for a grouped product in list.phtml?

i'm wondering how to get the normal price (before discount) for a grouped product in list.phtml, i only know how to get the special price by the following code <?php echo 'From: '.$_coreHelper->...
1
vote
2answers
3k views

How to change Rs to Indian rupee symbol (Devanagari letter "र") at product display page? [duplicate]

I am changing Rs to Indian rupee sign (Devanagari letter "र") . using below code <?php echo $this->getPriceHtml($_product, true, '-new'); ?> replace it by <?php $string = $this->...
1
vote
1answer
470 views

add some text after currency symbol in site

we can see price in site as : $699.99 I want to change $699.99 to $. 699.9 i want to put "dOT" and "space" after $ symbol. please help me to find solution thanks in advance
1
vote
0answers
515 views

Custom Options not updating price - JS error [duplicate]

I've come across a bit of a strange error when making products with custom items. This happens for both simple items and bundle items with fixed prices. When selecting one of the custom items, the '...
1
vote
1answer
2k views

Rounding of vat (tax) for product prices and consider 3 or 4 decimal places

We enter our product prices into magento exc vat and display them inc vat. To get a nice price displayed to the customer as 19.95 the exc vat (20%) price would need to be 16.625. If we store the ...
1
vote
1answer
440 views

Prices, How to hide decimals when are .00?

I want to know if exists one elegant option to hide decimals in the price when are ,00 I want this format: 8,45€ 299€ ---> Now I have 299,00 Thanks.
1
vote
2answers
6k views

How to add a custom price attribute for RRP?

In Magento 2 CE, I'm trying to add a product attribute called "RRP" (Recommended Retail Price) and display it on the frontend product page near the other prices. (Existing MSRP function isn't ...
1
vote
1answer
2k views

How to Display available Lowest price for Magento configurable products?

We know that configurable products has different prices. By default Magento displays base price of the configurable product. But I want to display the lowest price available in associated products of ...
1
vote
1answer
2k views

Show product price in custom block

I am developing a custom module with a custom block which displays a list of products. My Block class: use \Magento\Framework\View\Element\Template; class Products extends Template { protected $...
1
vote
2answers
634 views

Tier Prices for Specific Increments

We are selling articles that should be sold cheaper if sold in specific multiplies (10 pieces, 20 pieces, ...). When setting a tier price, it is only possible to set this price for "> 10" items and ...
1
vote
1answer
256 views

How can I make a cms pages product price dynamic?

So I have a cms page which I use as a lading page. The page is custom html coded with 3 of my products (basically showing the product and the price). When you click on an "Buy Now" button it takes you ...
1
vote
4answers
4k views

How to add Space between Currency Symbol and Price in Magento 2?

Product Detail, how to add space after currency in magento 2? Below is code app/design/frontend/Custom/goshop/Magento_Catalog/templates/product/price/amount/default.phtml <?php /** @var \...
1
vote
1answer
683 views

How to reload the price programmatically in Magento 2

i magento 2 in product view page based on some condition or input my SpecialPrice will be changed so i follow below code in Block file but it return the old SpecialPrice , how to fix this issue ...
0
votes
1answer
2k views

Display both reduced amount and also percentage in cart page

http://www.customy.com/blog/show-product-discount-percent-in-magento/ The amount reduced will be shown in percentage in above link. I need to display percentage of discount along with "HOW MUCH ...
0
votes
1answer
904 views

Remove price decimals on list and product view

I want to remove the decimals of our price only on the list and product view. For example I want to change the price from $14,00 to $14,- In the checkout, e-mails and PDF I want to keep the decimals ...
0
votes
1answer
71 views

How to customize update Mini-cart individual product price total when qty increased - KnockoutJS

I want to increase product price when to increase qty in Minicart, but here order total increased but price not updated.
0
votes
2answers
2k views

Hide price for out of stock products

How to hide price for out of stock products in all Magento pages.(product pages and category pages)
0
votes
1answer
634 views

Changing product prices based on the current currency

The client doesn't want to create 2 websites for 2 base currencies. But they want the prices of the alternative currency to be rounded to 0.5 or 0.9. The pre-calculated prices should be shown on ...
0
votes
1answer
2k views

Issue with bundle product price not changed on cart page

I made custom calculation to change product price on cart page. Product type is bundle. I used this observer event to set custom price for bundle product. checkout_cart_product_add_after My code ...
0
votes
1answer
2k views

Sale price is not showing

I have made a little bit of code to show product that are on sale on the cart page but it is not displaying the sale price only the original. This is the code that im using to show the price. <?...
0
votes
1answer
873 views

How to implement customer specific pricing, Magento 2.3

We want to display customer specific prices on all product listings and product pages on the front end. So far what we've done is created a collection plugin for the resource model which fetches a ...
0
votes
1answer
1k views

Getting Price Format with getAttributeRawValue

I have this code to get the price of related products in new order email: <?php echo Mage::getResourceModel('catalog/product')->getAttributeRawValue($relatedProductId, 'price', $storeId); ?> ...
0
votes
2answers
1k views

Mini cart item price change magento 2

I am facing rounding issue in mini cart item price. I want to round price for mini cart item.But I am not sure from where it is coming? Please let me know where can I modify cart item price value. ...
0
votes
2answers
1k 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\...
0
votes
1answer
3k views

magento2 how to change product price while change the value of text field? [duplicate]

Hi i would like to change my product price dynamically while change the custom option text field value. I have written the code as shown below app/design/frontend/Smartwave/porto/Magento_Catalog/...
0
votes
1answer
674 views

Magento2 : Manage currency format in multi-language website

I have website with two language French and English in which currency format is not matching in both store.If product has price 14,751.89 € then it will show FR Store : €14,751.89 En Store : 14 751,...
0
votes
1answer
284 views

Changing price is not reflecting for configurable products

i am trying to change the price of associated products . In the below image, you can see 2 tables, in first table you can see "option 3, option 4, option 5....etc" , next to that column there is a ...
0
votes
1answer
3k views

Getting Current Customer Group Price, and Tier Price

I am Using Magento 1.9.1.0 CE. Now I need to display or get the current group groupprice and Tier Price. I have google it, Most of the answer Related to ver 1.7 Magento .but its not resolving the ...
0
votes
1answer
5k views

Update price of item before adding to cart!

Just like the title says I want to change the price of the item before it hits the cart. A customer configures an item before purchasing and different combinations equal different prices. As a ...
0
votes
1answer
173 views

How to remove decimal points from price in Magento 2? [duplicate]

In app/design/frontend/Vendor/Theme/Magento_ConfigurableProduct/templates/product/price/final_price.phtml of listing page price is appearing like ₹50.00 . I want to show it as ₹50. I tried using ...
0
votes
0answers
615 views

Declare javascript variable in observer method [duplicate]

I got some great advice on how to create a module to specify the price of a product when it is added to cart here: Dynamically calculated prices save before add to cart I have a custom script within ...
0
votes
2answers
1k views

Group price for product

I have create 4 group of customer and try to set group price for each group in product but i dont see any group price section in product and I want to add customer group wise price for particular ...

1 2
3