OK, found where $options get set. Its when displaying the popup to edit the options in the cart or the wishlist. Makes sense for preselecting the current options for the item in the cart or wishlist. But I still can't figure out what func_get_default_options is all about. It looks like it will get called before adding a product to the cart or the wishlist. But its another of those where it depends on something not being set and I can't find out where it would ever be set.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]
UGG Boots and other fine sheepskin products
http://www.snowriver.com
|