PHP Classes
elePHPant
Icontem

File: README.md

Recommend this page to a friend!
  Classes of Ovunc Tukenmez  >  ShoppingOptimizer  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: ShoppingOptimizer
Find shopping cart items with most discounts
Author: By
Last change:
Date: 1 month ago
Size: 1,089 bytes
 

Contents

Class file image Download

ShoppingOptimizer PHP Class

<strong>ShoppingOptimizer </strong> is a <strong>PHP</strong> class that is used to find the most profitable ways to purchase items using cart discount coupons in one or multiple cart parts.

Example script is included in the package. (example.php)<br /> <h2>Sample Outputs</h2> <ul> <li>Example with no budget limit (example_output.html) (example_output_sample.png)</li> <li>Example with budget (example_with_budget_output.html)</li> </ul>

<h2>Public Methods of Class</h2> <ul> <li>getAvailableCartSortOrders()</li> <li>getCartSortOrders()</li> <li>getCoupons()</li> <li>getDiscountedCarts()</li> <li>removeMaximumBudget()</li> <li>resetItems()</li> <li>setCartSortOrders()</li> <li>setCoupons()</li> <li>setDefaultCartSortOrders()</li> <li>setItems()</li> <li>setMaximumBudget()</li> <li>setOnlyDistinctSum()</li> </ul>

<h2>Class Requirements</h2> <ul> <li>PHP 5 >= 5.5.0</li> </ul>

Thanks for checking out this class! If you have improvement idea or bug fix, please feel free to contribute this class.<br /> <br /> <br /> Ovunc Tukenmez ovunct@live.com