Questions tagged [calculate]

The tag has no usage guidance.

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

How to implement prices by range

We have an online store in Magento 2, and we need to calculate prices according a price table like this. The product page has two text fields where users type their measures. After they type the ...
1
vote
0answers
28 views

Change coupon discount calculation

I'm new in Magento, and if someone can bring me some light is there a way to overwrite the calculation method when discount is applyed? Mage version 1.9.4. The problem is for eaxmple how mage is ...
0
votes
1answer
12 views

M2 - Use price for calculation

On the product detail page I need to use the price for calculation. How can I get the price and use it for calculation? For example; $product_price / 12 = $outcome
1
vote
1answer
90 views

Calculate attribute value in indexer or cron?

This is my observer and its updating my custom attribute every time when I save attributes on catalog_product_attribute_update_before event. namespace MyVendor\MyModule\Observer; class ...