php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "price display"

What are the differences between using "sort=price" and "sort=-price" in PHP when sorting Amazon API articles by price?

When sorting Amazon API articles by price, using "sort=price" will sort the articles in ascending order based on price, while using "sort=-price" will...

How can PHP be used to automatically display a price request button for products with a price of 0 in an online shop?

When products in an online shop have a price of 0, PHP can be used to automatically display a price request button instead of showing the price as 0....

How are prices calculated (Quantity * Price = Total Price) and the total price calculated?

To calculate the total price, you need to multiply the quantity by the price. This can be done by using the formula: Total Price = Quantity * Price. T...

What is the purpose of adding a prefix to the price display in Magento and how does PHP code play a role in this customization?

Adding a prefix to the price display in Magento can be useful for indicating currency symbols or any other relevant information. To customize this, yo...

How can you filter an array in PHP based on a specific condition and display the lowest price?

To filter an array in PHP based on a specific condition and display the lowest price, you can use the `array_filter()` function to filter the array ba...

Showing 1 to 5 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.