PHP Code

Alternate Search Module

Contains alternate search functionality centered around sorting results, tags, and taxonomies.

Functions:

  1. _EXPAND_RESULTS_TO_BT (Transforms a results array from node_search_execute to an array where hits are associated with all broader terms)
  2. _SORT_ARRAY_BY_VOCAB (Sorts an array by the structure of vocabulary tree)
  3. _GET_CATEGORIZED_RESULTS (Displays catagorized results from a search)

Bars

A form to update inventory of Scentsy bars using PHP and JavaScript

In Stock

Lists Scentsy products in stock.

A corresponding program works the same way, but only retrieves products with a 0 inventory (Out of Stock)