Questions tagged [special-price]

For questions about the Special Price function where a product has a temporary promotion resulting in a lower price for the customer than normal.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Create Special Offers Page based on Attribute combined with Catalog Rule

As known in Magento there are multiple ways to apply special pricing from products and based on many answers I found this forum I created a module with Layer Navigation to load all products that have ...
0 votes
1 answer
37 views

Magento 2 - Do not apply catalogrule to products with a special price

I am looking for a good working solution to prevent Magento 2.4 to apply catalogrules to products that have a special price. When trying to do it via a plugin/override on getMatchingProductIds from ...
  • 800
0 votes
0 answers
19 views

Recently Viewed Special Price Not Showing Configurable Product Magento 2.4

Recently Viewed items list - does not contain old price in configurable products it contains only special price. How can I show old and special price together in Recently Viewed items ?
  • 1,247
0 votes
1 answer
72 views

Tier price calculation on Special Price

I need to change the logic of the tier price calculation. I have special prices on my site and their calculation depends on a product base price, but I need to calculate it depending on the special ...
  • 599
0 votes
2 answers
25 views

Price Rule based on percentage in attribute in M 2.4x

Is there a way (without coding) or a plug-in with which I can define a attribute that holds a percentage per SKU which is then set to a price rule? SKU % Price Special Price 1 5 100€ ...
0 votes
0 answers
50 views

Import custom csv to update just price and special_price error entity model

I’m trying to import a custom csv just with sku, store_id, price and special_price. I saw some modules with exemples but not working because my import can´t be make and returned "Please enter a ...
0 votes
0 answers
30 views

Do not want to display special price for all configurations of a configurable product

I have created a configurable product with several configurations. Some simple products that represent a distinct configuration have their own dedicated special price, which is lower than the actual ...
0 votes
0 answers
37 views

How to get Tier Price Observer

I am new in Magento. I try to get Special/Tiersprice. I have this code $item = $observer->getEvent()->getData('quote_item'); $item = ($item->getParentItem() ? $item->...
0 votes
1 answer
212 views

special price product collection working but loading speed is too slow ,I don't understand why the speed is so slow please help!

<?php namespace Product\Discount\Block; use Magento\Catalog\Api\CategoryRepositoryInterface; /* use Magento\Catalog\Api\CategoryRepositoryInterface; use Magento\Catalog\Block\Product\Context; use ...
3 votes
1 answer
223 views

How to get product collection without special price and tier price?

I'm using Magento v2.4, i want to retrieve a product collection that does not have special price (special price is not active or null) and tier price, currently i load the product collection like this:...
  • 98
0 votes
0 answers
30 views

Custom Pricing Question

I use Magento 2.4.3. and I want to delete the thousands separator in magento prices. For example for in place of this price "2,100.00 €" I want to have "2100.00 €" Thanks a lot.
0 votes
1 answer
236 views

Multiple special prices for a single product

I've been asked about having the possibility to have multiple date ranges in the advanced pricing section at once so that my client can bulk update all the products with all of their promo periods ...
  • 115
0 votes
1 answer
175 views

How to set special price on all stores?

I want to programmatically set special prices on products. The below code works perfectly for 1 store view. But I want to have the special price to be applied to the "All Store Views" scope. ...
0 votes
2 answers
76 views

How to add a label to simple & Bundle product price?

I need to add the Saving percentage label to the product after the price on the category listing page and product details page. I managed to do this for configurable products by adding the below code ...
  • 2,651
0 votes
0 answers
213 views

Magento2 Special Price is not correctly reflecting on Product List Page and Search Page

Pr-conditions: Magento version: Magento Commerce 2.3.6 Varnish version : 5.2.1 PHP version: PHP 7.2.33 MySQL version: 5.7 Multi Website architecture Catalog Price Scope = "Website" (Admin &...
  • 1
0 votes
2 answers
60 views

catalog_product_entity_decimal table is empty

I need to bring in cost, price and special_price into an existing query. Research brings back catalog_product_entity_decimal has special_price and price. This table is empty. Is there another table ...
1 vote
0 answers
209 views

Magento 2 Add Time to Special Price Date Start and Special Price Date End

In the calendar special price date start and special price date end, they using format date only like below image : how can I modify this to add time on the calendar, I've checking Magento catalog ...
  • 1,343
0 votes
0 answers
33 views

Unable to find getPrice method in catalog

Simple issue but can't figure it out alone : Under base vendor/magento/module-catalog/view/base/web/template/product/price/special_price.html There is this part that is used to calculated the product ...
  • 1,024
0 votes
1 answer
44 views

Product special_price only changes with reindex

I'm trying to set a product special_price using rest api, But the special_price only changes in store front with reindex command. PS: When i use a numeric value, like: 15, 100, etc... it changes ...
0 votes
2 answers
2k views

Special Price Not Showing Configurable Product Magento 2.4.2

I have upgraded Magento 2.4.1 to 2.4.2 Special price is showing for a simple product but showing for the configurable product in the category view page. However, on the product details page, I can see ...
  • 141
0 votes
0 answers
128 views

Magento 2 Cannot update specialPrice per website

I'm trying to update specialPrice per website in a Magento 2.3.6 website. The problem is that when i am updating the price using the Product model , the specialPrice is removed from all storeviews ( ...
  • 231
0 votes
1 answer
509 views

How to set special price as final price in magento 2

I would like to setup the special price as a final price. In the current scenario, what happens, if the price columns is lesser than the special price, the price is taken as selling price. WHY There ...
  • 1,407
0 votes
3 answers
549 views

Get On sale product collection in magento 2

I want to show all the on sale product on one page. Can any one help me with the code to get the products collection which are on Sale i.e which has special price assigned in magento 2 This is my ...
  • 720
0 votes
1 answer
317 views

Magento 2: How to remove decimal points in special price column in product admin grid

I want to remove decimal points from special price column in product admin grid.
0 votes
2 answers
793 views

Special Price Not Applying in Magento2 Cart

I am creating simple products through API call. Product is created finely and showing all attributes finely in admin part but when ever i am seeing product in frontend it is not showing any special ...
  • 532
1 vote
1 answer
613 views

Checking if child products of a configurable product have a special price?

The following code has been added to the list.phtml but is working only for simple products. When they have an special price with a date range, a sale label is attached to the product image on the ...
1 vote
2 answers
41 views

Cannot get special price

I have the following problem: I want to get the final price programatically but it always displays 0 I tried with : $product->getSpecialPrice(); $product->getPriceInfo()->getPrice("...
0 votes
1 answer
708 views

How do I exclude products with discount from coupon codes?

I need put a coupon code. But I don't need the products with any discount (catalog price rule). I want to make discount coupon only for products with normal price. Is this even possible?
0 votes
2 answers
86 views

How to Special price based on attribute?

Is it possible to set special price automatically based on a attribute? I have an attribute called offerprice in which I enter the percentage of discount. So if the product price is $100 and I enter ...
1 vote
2 answers
2k views

how to get special price and regular price in phtml file magento2

i have a phtml file where i want to get special and regular price of product im using product model but getting nothing, im using this code: $product_id =$block->getProduct()->getId(); $_product ...
0 votes
1 answer
329 views

Magically special_from_date is set whenever product is updated

I got a weird issue i can't see to find the reason behind it. When i update product with a special_price and the special_from_date is NULL (empty) it updates the special_from_date to today.. And i can'...
0 votes
0 answers
284 views

Override advanced pricing from product with catalog price rule

I've create a customer group called: "Dealers", the idea is that they have in their account a 10% discount on all the store. The problem i'm facing is that if I set a product, let's say "Product A", ...
0 votes
1 answer
961 views

Magento 2 How to Catalog Price rule apply on product special price

i want to catalog price rule apply on special price product but i see in magento default apply only on product final price but i want to catalog rule apply on product special price how can achieve ...
  • 5,254
0 votes
1 answer
91 views

How to get final price for not current customer?

There is a special customer group named A which has it's own special catalog rules and group prices. I am going to display final price of another customer group named B for A users. How can I get ...
0 votes
1 answer
171 views

Magento 2: Calculate sale price based on Special Price not Standard Price

I am attempting to do a "sale on sale" promotion for one of my clients. They would like to add a discount on top of items that are already on sale. Example: "take an extra 30% off sale items." Now, I ...
1 vote
3 answers
321 views

How to round Magento 2 special prices?

What I am trying to achieve is that, I have SALE on an item I've managed to display the Regular Price and the Special Price But let's say I have a product which has regular price of 319.00 I would ...
  • 63
2 votes
0 answers
375 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-...
  • 569
2 votes
0 answers
135 views

Magento 2: import special price for configurable products from M1

In Magento 1 the special prices were added to configurable products. In Magento 2 the special prices are set for simple products associated with the main configurable product. Is there an easy way ...
  • 1,561
1 vote
0 answers
114 views

Special Price Tax

recently i upgraded my Magento2.2.8 to Magento2.3.3 after upgrade i add product in my cart and go to cart page and see summary on cart Page the tax added 10% which is ok but the issue is if i add ...
  • 379
0 votes
1 answer
584 views

Magento 2 function to get a list of products (simple and configurable) with special price on a given date

I have the following function which gives me a list of simple products which are on special at the moment: public function getSpecialProducts($config = []) { /** @var $collection \...
  • 115
2 votes
0 answers
34 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 ...
  • 127
0 votes
0 answers
483 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 ...
1 vote
1 answer
1k views

How to Get Special Prices to Show with Original Price Strike-through in magento 2

Am adding special price with Original Price Strike-through
3 votes
0 answers
847 views

How to apply coupon code only to normal price not special price

I created one shopping cart rule for 10% discount using coupon code tenoff for all products but I want to apply this discount only on products which don't have active special price. Is this possible? ...
0 votes
1 answer
1k views

Magento 2: Catalog rule not apply on product special price

I have tried to apply Catalog Rule on product but this discount rule is not applied which product have already special price and tier price. so is this default magento behaviour of its bug or any ...
0 votes
0 answers
122 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
0 answers
31 views

Configurable product on sale have an error on variation price

When I change product variation on the dropdown, the full price of that product is not loaded, it continues to show the price of the default configurable product. I do not know why this error happens ...
1 vote
0 answers
611 views

Magento 2 sorting configurable products by special_price is not working

I have simple and configurable products on listing page. I am using special_price attribute for sorting. It is working for simple products but not working for configurable products. I have assigned ...
  • 2,025
0 votes
2 answers
697 views

How to remove special price from configurable parent product in magento2

We have migrated Magento 1 to Magento 2 after migration special price of configurable product parent is showing but we can't edit this special price in the backend.
1 vote
2 answers
2k views

Magento 2: How to completely hide price from the store

I want to completely hide the price from the store. Be it in the catalog, product, minicart or cart. I need to do this through a custom module. Any help is appreciated. Thanks!
  • 495

1
2 3 4 5