commerce_product_urls_commerce_cart_add_to_cart_form_submit |
./commerce_product_urls.module |
Extra form submit handler: replaces commerce_cart's form redirect
to go back to the same product variation that was just added to the cart. |
|
1 |
commerce_product_urls_commerce_cart_attributes_refresh_alter |
./commerce_product_urls.module |
Implements hook_commerce_cart_attributes_refresh_alter().
EXPERIMENTAL CODE: see explanation in commerce_product_urls_form_alter(). |
|
|
commerce_product_urls_commerce_product_reference_default_delta_alter |
./commerce_product_urls.module |
Implements hook_commerce_product_reference_default_delta_alter(). |
|
|
commerce_product_urls_form_alter |
./commerce_product_urls.module |
Implements hook_form_alter(). |
|
|
commerce_product_urls_menu |
./commerce_product_urls.module |
Implements hook_menu(). |
|
|
commerce_product_urls_preprocess_node |
./commerce_product_urls.module |
Implements hook_process_HOOK(). |
|
|
commerce_product_urls_settings_form |
./commerce_product_urls.admin.inc |
Form constructor for the realm settings form. |
|
1 |
_commerce_product_urls_build_query_string |
./commerce_product_urls.module |
Re-builds URL query string for current product: adds 'id' parameter pointing
to currently selected product, and strips all attribute field parameters
(they are not needed anymore once 'id' param is added).
Keeps all other… |
3 |
|
_commerce_product_urls_get_cart_attribute_fields |
./commerce_product_urls.module |
Returns an array of product fields enabled as an attribute field
for Add to Cart forms from provided products. |
2 |
|
_commerce_product_urls_get_product_ids_from_line_item |
./commerce_product_urls.module |
Retrieves the array of product IDs from the line item's context data array. |
3 |
|
_commerce_product_urls_match_product_from_url |
./commerce_product_urls.module |
Tries to determine and return a default product from $products array
based on matching against URL query parameters, or, in case of failure
(when no product matches) returns first product from $products array. |
1 |
|