People who code: we want your input. Take the Survey

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
14
votes
1answer
14k views

Magento 2 : How to get Final price & Original price of all types of product

How can I get Original price and Final price of given below types product? Simple product Configurable product Bundle product Group product For simple product I can get price easily using below code....
3
votes
1answer
572 views

Magento2 catalogrule promotions, ability to choose price or special_price?

By default catalogrule promotions are applied to price field. Changing this was one classic request in most Magento 1 projects we have managed One approach could be to apply catalogrule promotions to ...
2
votes
1answer
3k views

Catalog Price Rules applied to special_price

Currently magento is using the special price if its lower than the applied catalog price rule. => If the catalog price rule makes the product cheaper than the special price, then the catalog price ...
0
votes
0answers
76 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 ...
7
votes
3answers
4k views

M2 Enterprise: How to add Special Price for product from date to date programmatically?

I want to add a Special Price for a product from date to date programmatically by code but don't know how. I can set in admin but I want to use code to save multiple products. I use Enterprise ...
4
votes
1answer
13k views

Magento 2 display old price AND special price in category list

In my old 1.7.0.2 version, I have in a category product list : "special_price" instead of "regular_price" like : 200$ instead of 350$ As I understand Magento2 change the way of setting special_price ...
2
votes
1answer
4k views

Magento 2 get special price product collection

I want to get all sale products (which have specila price and special from date and special to date) in a .phtml file. Which i use in any where in store.specially in list page.
2
votes
1answer
858 views

Programatically get special price products that are active by checking the end date?

How can I programmatically get products that has an active special price? (by checking the end date).
1
vote
1answer
2k views

apply catalog promotion rule on tier prices and special prices in magento 2

I want to apply my catalog promotion price rule for products having tier price as well. Current magento functionality only checks the price minimum value and displays the least among the both but I ...
1
vote
3answers
2k views

Magento Product Collection less then the Original price

How to get Special price less or not <?php $categoryIds = array(469);//category id $todayDate = date('m/d/y'); $tomorrow = mktime(0, 0, 0, date('m'), date('d'), date('y')); $...
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
2k views

Magento 2 Catalog price rule on special price

Currently Magento is using the special price if it is lower than the applied catalog price rule. If the catalog price rule makes the product cheaper than the special price, then the catalog price rule ...
0
votes
1answer
1k views

How to check if child products of configurable product have special price?

The following function works only for simple products (when they have an special price, a sale label is attached to the product image): public function getLabels($product) { $labels = []; if ...
0
votes
1answer
260 views

Apply special price to a list of products

I want to apply a percentage special price to a group of products(list of SKUs) without manually going through each of one of them. Is there a way to this in backend or programmatically in magento ?