Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 12293

Questions about displaying and calculating product prices

0 votes

How to add filter to category products(Show only with special price)

Special price is also attribute like the color. You can enable it for filtering via admin - catalog - attributes - manage attributes - special price - show in layered navigation …
Amasty's user avatar
  • 6,518
3 votes

Price increments in layered navigation

Please open the given category settings in the admin, switch to the "display setting" and adjust the "Layered Navigation Price Step" for this category. …
Amasty's user avatar
  • 6,518
4 votes
Accepted

set custom price in layered navigation

Layered navigation uses prices from the table catalog_product_index_price This table is created and maintained up to date by Magento built in price indexing mechanism. … So you can modify the price on the event catalog_product_save_before, modified price will be saved and the core will do all the magic. …
Amasty's user avatar
  • 6,518
2 votes
Accepted

' Tax Calculation Method Based On' - what is the preferred setting?

solution you can copy /app/code/core/Mage/Core/Model/Store.php file to /app/code/local/Mage/Core/Model/Store.php and modify the roundPrice() method to round with 4 digits: public function roundPrice($price … ) { return round($price, 4); } …
Amasty's user avatar
  • 6,518
1 vote

How to round products price?

To round prices as .00 .25 0.50 0.75 you can use the following function: function round_quarter($price){ return round($price * 4) / 4; // also possible floor($price * 4) / 4; // it depends on …
Amasty's user avatar
  • 6,518
1 vote

Layered Navigation: Price filter on custom collection

Price filter uses a bit different SQL query. It tries to avoid joining with the product entity table and replace it with the price index. …
Amasty's user avatar
  • 6,518
0 votes

How to get products attributes and use them as condition to set shipping price

As you have the $quote object you can get the items using getAllItems() method and then, for each item fetch corresponding product object. foreach ($quote->getAllItems() as $item) { $product …
Amasty's user avatar
  • 6,518